Files
codeql/javascript/extractor/tests/helloworld/output/trap/hello.js.trap
2018-11-07 07:48:25 +00:00

91 lines
2.5 KiB
Plaintext

#10000=@"/hello.js;sourcefile"
files(#10000,"/hello.js","hello","js",0)
#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"
toplevels(#20001,0)
#20002=@"loc,{#10000},1,1,1,23"
locations_default(#20002,#10000,1,1,1,23)
hasLocation(#20001,#20002)
#20003=*
stmts(#20003,2,#20001,0,"alert("" ... rld!"");")
hasLocation(#20003,#20002)
stmtContainers(#20003,#20001)
#20004=*
exprs(#20004,13,#20003,0,"alert("" ... orld!"")")
#20005=@"loc,{#10000},1,1,1,22"
locations_default(#20005,#10000,1,1,1,22)
hasLocation(#20004,#20005)
enclosingStmt(#20004,#20003)
exprContainers(#20004,#20001)
#20006=*
exprs(#20006,79,#20004,-1,"alert")
#20007=@"loc,{#10000},1,1,1,5"
locations_default(#20007,#10000,1,1,1,5)
hasLocation(#20006,#20007)
enclosingStmt(#20006,#20003)
exprContainers(#20006,#20001)
literals("alert","alert",#20006)
#20008=@"var;{alert};{#20000}"
variables(#20008,"alert",#20000)
bind(#20006,#20008)
#20009=*
exprs(#20009,4,#20004,0,"""Hello, world!""")
#20010=@"loc,{#10000},1,7,1,21"
locations_default(#20010,#10000,1,7,1,21)
hasLocation(#20009,#20010)
enclosingStmt(#20009,#20003)
exprContainers(#20009,#20001)
literals("Hello, world!","""Hello, world!""",#20009)
#20011=*
lines(#20011,#20001,"alert(""Hello, world!"");","")
hasLocation(#20011,#20002)
numlines(#20001,1,1,0)
#20012=*
tokeninfo(#20012,6,#20001,0,"alert")
hasLocation(#20012,#20007)
#20013=*
tokeninfo(#20013,8,#20001,1,"(")
#20014=@"loc,{#10000},1,6,1,6"
locations_default(#20014,#10000,1,6,1,6)
hasLocation(#20013,#20014)
#20015=*
tokeninfo(#20015,4,#20001,2,"""Hello, world!""")
hasLocation(#20015,#20010)
#20016=*
tokeninfo(#20016,8,#20001,3,")")
#20017=@"loc,{#10000},1,22,1,22"
locations_default(#20017,#10000,1,22,1,22)
hasLocation(#20016,#20017)
#20018=*
tokeninfo(#20018,8,#20001,4,";")
#20019=@"loc,{#10000},1,23,1,23"
locations_default(#20019,#10000,1,23,1,23)
hasLocation(#20018,#20019)
#20020=*
tokeninfo(#20020,0,#20001,5,"")
#20021=@"loc,{#10000},1,24,1,23"
locations_default(#20021,#10000,1,24,1,23)
hasLocation(#20020,#20021)
#20022=*
entry_cfg_node(#20022,#20001)
#20023=@"loc,{#10000},1,1,1,0"
locations_default(#20023,#10000,1,1,1,0)
hasLocation(#20022,#20023)
#20024=*
exit_cfg_node(#20024,#20001)
hasLocation(#20024,#20021)
successor(#20003,#20006)
successor(#20009,#20004)
successor(#20006,#20009)
successor(#20004,#20024)
successor(#20022,#20003)
numlines(#10000,1,1,0)
filetype(#10000,"javascript")