Files
codeql/javascript/extractor/tests/helloworld/output/trap/hello.js.trap
2026-02-27 14:15:34 +01:00

99 lines
2.8 KiB
Plaintext

#10000=@"/hello.js;sourcefile"
files(#10000,"/hello.js")
#10001=@"/;folder"
folders(#10001,"/")
containerparent(#10001,#10000)
#10002=@"loc,{#10000},0,0,0,0"
locations_default(#10002,#10000,0,0,0,0)
hasLocation(#10000,#10002)
#20000=@"global_scope"
scopes(#20000,0)
#20001=@"script;{#10000},1,1"
#20002=*
lines(#20002,#20001,"alert(""Hello, world!"");","")
#20003=@"loc,{#10000},1,1,1,23"
locations_default(#20003,#10000,1,1,1,23)
hasLocation(#20002,#20003)
numlines(#20001,1,1,0)
#20004=*
tokeninfo(#20004,6,#20001,0,"alert")
#20005=@"loc,{#10000},1,1,1,5"
locations_default(#20005,#10000,1,1,1,5)
hasLocation(#20004,#20005)
#20006=*
tokeninfo(#20006,8,#20001,1,"(")
#20007=@"loc,{#10000},1,6,1,6"
locations_default(#20007,#10000,1,6,1,6)
hasLocation(#20006,#20007)
#20008=*
tokeninfo(#20008,4,#20001,2,"""Hello, world!""")
#20009=@"loc,{#10000},1,7,1,21"
locations_default(#20009,#10000,1,7,1,21)
hasLocation(#20008,#20009)
#20010=*
tokeninfo(#20010,8,#20001,3,")")
#20011=@"loc,{#10000},1,22,1,22"
locations_default(#20011,#10000,1,22,1,22)
hasLocation(#20010,#20011)
#20012=*
tokeninfo(#20012,8,#20001,4,";")
#20013=@"loc,{#10000},1,23,1,23"
locations_default(#20013,#10000,1,23,1,23)
hasLocation(#20012,#20013)
#20014=*
tokeninfo(#20014,0,#20001,5,"")
#20015=@"loc,{#10000},1,24,1,23"
locations_default(#20015,#10000,1,24,1,23)
hasLocation(#20014,#20015)
toplevels(#20001,0)
hasLocation(#20001,#20003)
#20016=@"var;{this};{#20000}"
variables(#20016,"this",#20000)
#20017=*
stmts(#20017,2,#20001,0,"alert("" ... rld!"");")
hasLocation(#20017,#20003)
stmt_containers(#20017,#20001)
#20018=*
exprs(#20018,13,#20017,0,"alert("" ... orld!"")")
#20019=@"loc,{#10000},1,1,1,22"
locations_default(#20019,#10000,1,1,1,22)
hasLocation(#20018,#20019)
enclosing_stmt(#20018,#20017)
expr_containers(#20018,#20001)
#20020=*
exprs(#20020,79,#20018,-1,"alert")
hasLocation(#20020,#20005)
enclosing_stmt(#20020,#20017)
expr_containers(#20020,#20001)
literals("alert","alert",#20020)
#20021=@"var;{alert};{#20000}"
variables(#20021,"alert",#20000)
bind(#20020,#20021)
#20022=*
exprs(#20022,4,#20018,0,"""Hello, world!""")
hasLocation(#20022,#20009)
enclosing_stmt(#20022,#20017)
expr_containers(#20022,#20001)
literals("Hello, world!","""Hello, world!""",#20022)
#20023=*
regexpterm(#20023,14,#20022,0,"Hello, world!")
#20024=@"loc,{#10000},1,8,1,20"
locations_default(#20024,#10000,1,8,1,20)
hasLocation(#20023,#20024)
regexp_const_value(#20023,"Hello, world!")
#20025=*
entry_cfg_node(#20025,#20001)
#20026=@"loc,{#10000},1,1,1,0"
locations_default(#20026,#10000,1,1,1,0)
hasLocation(#20025,#20026)
#20027=*
exit_cfg_node(#20027,#20001)
hasLocation(#20027,#20015)
successor(#20017,#20020)
successor(#20022,#20018)
successor(#20020,#20022)
successor(#20018,#20027)
successor(#20025,#20017)
numlines(#10000,1,1,0)
filetype(#10000,"javascript")