Files
codeql/javascript/extractor/tests/stmts/output/trap/trivial-switch.js.trap
2021-09-14 10:25:42 +02:00

84 lines
2.2 KiB
Plaintext

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