Files
codeql/javascript/extractor/tests/stmts/output/trap/trivial-switch.js.trap
2018-11-07 07:48:25 +00:00

84 lines
2.2 KiB
Plaintext

#10000=@"/trivial-switch.js;sourcefile"
files(#10000,"/trivial-switch.js","trivial-switch","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,2,0"
locations_default(#20002,#10000,1,1,2,0)
hasLocation(#20001,#20002)
#20003=*
stmts(#20003,8,#20001,0,"switch(x){}")
#20004=@"loc,{#10000},1,1,1,11"
locations_default(#20004,#10000,1,1,1,11)
hasLocation(#20003,#20004)
stmtContainers(#20003,#20001)
#20005=*
exprs(#20005,79,#20003,-1,"x")
#20006=@"loc,{#10000},1,8,1,8"
locations_default(#20006,#10000,1,8,1,8)
hasLocation(#20005,#20006)
enclosingStmt(#20005,#20003)
exprContainers(#20005,#20001)
literals("x","x",#20005)
#20007=@"var;{x};{#20000}"
variables(#20007,"x",#20000)
bind(#20005,#20007)
#20008=*
lines(#20008,#20001,"switch(x){}","
")
hasLocation(#20008,#20004)
numlines(#20001,1,1,0)
#20009=*
tokeninfo(#20009,7,#20001,0,"switch")
#20010=@"loc,{#10000},1,1,1,6"
locations_default(#20010,#10000,1,1,1,6)
hasLocation(#20009,#20010)
#20011=*
tokeninfo(#20011,8,#20001,1,"(")
#20012=@"loc,{#10000},1,7,1,7"
locations_default(#20012,#10000,1,7,1,7)
hasLocation(#20011,#20012)
#20013=*
tokeninfo(#20013,6,#20001,2,"x")
hasLocation(#20013,#20006)
#20014=*
tokeninfo(#20014,8,#20001,3,")")
#20015=@"loc,{#10000},1,9,1,9"
locations_default(#20015,#10000,1,9,1,9)
hasLocation(#20014,#20015)
#20016=*
tokeninfo(#20016,8,#20001,4,"{")
#20017=@"loc,{#10000},1,10,1,10"
locations_default(#20017,#10000,1,10,1,10)
hasLocation(#20016,#20017)
#20018=*
tokeninfo(#20018,8,#20001,5,"}")
#20019=@"loc,{#10000},1,11,1,11"
locations_default(#20019,#10000,1,11,1,11)
hasLocation(#20018,#20019)
#20020=*
tokeninfo(#20020,0,#20001,6,"")
#20021=@"loc,{#10000},2,1,2,0"
locations_default(#20021,#10000,2,1,2,0)
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,#20005)
successor(#20005,#20024)
successor(#20022,#20003)
numlines(#10000,1,1,0)
filetype(#10000,"javascript")