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

274 lines
7.4 KiB
Plaintext

#10000=@"/tst.js;sourcefile"
files(#10000,"/tst.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,"for (let i = 0; i < spec.switch.length; i++) {","
")
#20003=@"loc,{#10000},1,1,1,46"
locations_default(#20003,#10000,1,1,1,46)
hasLocation(#20002,#20003)
#20004=*
lines(#20004,#20001,"}","
")
#20005=@"loc,{#10000},2,1,2,1"
locations_default(#20005,#10000,2,1,2,1)
hasLocation(#20004,#20005)
numlines(#20001,2,2,0)
#20006=*
tokeninfo(#20006,7,#20001,0,"for")
#20007=@"loc,{#10000},1,1,1,3"
locations_default(#20007,#10000,1,1,1,3)
hasLocation(#20006,#20007)
#20008=*
tokeninfo(#20008,8,#20001,1,"(")
#20009=@"loc,{#10000},1,5,1,5"
locations_default(#20009,#10000,1,5,1,5)
hasLocation(#20008,#20009)
#20010=*
tokeninfo(#20010,7,#20001,2,"let")
#20011=@"loc,{#10000},1,6,1,8"
locations_default(#20011,#10000,1,6,1,8)
hasLocation(#20010,#20011)
#20012=*
tokeninfo(#20012,6,#20001,3,"i")
#20013=@"loc,{#10000},1,10,1,10"
locations_default(#20013,#10000,1,10,1,10)
hasLocation(#20012,#20013)
#20014=*
tokeninfo(#20014,8,#20001,4,"=")
#20015=@"loc,{#10000},1,12,1,12"
locations_default(#20015,#10000,1,12,1,12)
hasLocation(#20014,#20015)
#20016=*
tokeninfo(#20016,3,#20001,5,"0")
#20017=@"loc,{#10000},1,14,1,14"
locations_default(#20017,#10000,1,14,1,14)
hasLocation(#20016,#20017)
#20018=*
tokeninfo(#20018,8,#20001,6,";")
#20019=@"loc,{#10000},1,15,1,15"
locations_default(#20019,#10000,1,15,1,15)
hasLocation(#20018,#20019)
#20020=*
tokeninfo(#20020,6,#20001,7,"i")
#20021=@"loc,{#10000},1,17,1,17"
locations_default(#20021,#10000,1,17,1,17)
hasLocation(#20020,#20021)
#20022=*
tokeninfo(#20022,8,#20001,8,"<")
#20023=@"loc,{#10000},1,19,1,19"
locations_default(#20023,#10000,1,19,1,19)
hasLocation(#20022,#20023)
#20024=*
tokeninfo(#20024,6,#20001,9,"spec")
#20025=@"loc,{#10000},1,21,1,24"
locations_default(#20025,#10000,1,21,1,24)
hasLocation(#20024,#20025)
#20026=*
tokeninfo(#20026,8,#20001,10,".")
#20027=@"loc,{#10000},1,25,1,25"
locations_default(#20027,#10000,1,25,1,25)
hasLocation(#20026,#20027)
#20028=*
tokeninfo(#20028,7,#20001,11,"switch")
#20029=@"loc,{#10000},1,26,1,31"
locations_default(#20029,#10000,1,26,1,31)
hasLocation(#20028,#20029)
#20030=*
tokeninfo(#20030,8,#20001,12,".")
#20031=@"loc,{#10000},1,32,1,32"
locations_default(#20031,#10000,1,32,1,32)
hasLocation(#20030,#20031)
#20032=*
tokeninfo(#20032,6,#20001,13,"length")
#20033=@"loc,{#10000},1,33,1,38"
locations_default(#20033,#10000,1,33,1,38)
hasLocation(#20032,#20033)
#20034=*
tokeninfo(#20034,8,#20001,14,";")
#20035=@"loc,{#10000},1,39,1,39"
locations_default(#20035,#10000,1,39,1,39)
hasLocation(#20034,#20035)
#20036=*
tokeninfo(#20036,6,#20001,15,"i")
#20037=@"loc,{#10000},1,41,1,41"
locations_default(#20037,#10000,1,41,1,41)
hasLocation(#20036,#20037)
#20038=*
tokeninfo(#20038,8,#20001,16,"++")
#20039=@"loc,{#10000},1,42,1,43"
locations_default(#20039,#10000,1,42,1,43)
hasLocation(#20038,#20039)
#20040=*
tokeninfo(#20040,8,#20001,17,")")
#20041=@"loc,{#10000},1,44,1,44"
locations_default(#20041,#10000,1,44,1,44)
hasLocation(#20040,#20041)
#20042=*
tokeninfo(#20042,8,#20001,18,"{")
#20043=@"loc,{#10000},1,46,1,46"
locations_default(#20043,#10000,1,46,1,46)
hasLocation(#20042,#20043)
#20044=*
tokeninfo(#20044,8,#20001,19,"}")
hasLocation(#20044,#20005)
#20045=*
tokeninfo(#20045,0,#20001,20,"")
#20046=@"loc,{#10000},3,1,3,0"
locations_default(#20046,#10000,3,1,3,0)
hasLocation(#20045,#20046)
toplevels(#20001,0)
#20047=@"loc,{#10000},1,1,3,0"
locations_default(#20047,#10000,1,1,3,0)
hasLocation(#20001,#20047)
#20048=*
stmts(#20048,14,#20001,0,"for (le ... ++) {\n}")
#20049=@"loc,{#10000},1,1,2,1"
locations_default(#20049,#10000,1,1,2,1)
hasLocation(#20048,#20049)
stmt_containers(#20048,#20001)
#20050=*
scopes(#20050,5)
scopenodes(#20048,#20050)
scopenesting(#20050,#20000)
#20051=@"var;{i};{#20050}"
variables(#20051,"i",#20050)
#20052=*
exprs(#20052,27,#20048,1,"i < spe ... .length")
#20053=@"loc,{#10000},1,17,1,38"
locations_default(#20053,#10000,1,17,1,38)
hasLocation(#20052,#20053)
enclosing_stmt(#20052,#20048)
expr_containers(#20052,#20001)
#20054=*
exprs(#20054,79,#20052,0,"i")
hasLocation(#20054,#20021)
enclosing_stmt(#20054,#20048)
expr_containers(#20054,#20001)
literals("i","i",#20054)
bind(#20054,#20051)
#20055=*
exprs(#20055,14,#20052,1,"spec.switch.length")
#20056=@"loc,{#10000},1,21,1,38"
locations_default(#20056,#10000,1,21,1,38)
hasLocation(#20055,#20056)
enclosing_stmt(#20055,#20048)
expr_containers(#20055,#20001)
#20057=*
exprs(#20057,14,#20055,0,"spec.switch")
#20058=@"loc,{#10000},1,21,1,31"
locations_default(#20058,#10000,1,21,1,31)
hasLocation(#20057,#20058)
enclosing_stmt(#20057,#20048)
expr_containers(#20057,#20001)
#20059=*
exprs(#20059,79,#20057,0,"spec")
hasLocation(#20059,#20025)
enclosing_stmt(#20059,#20048)
expr_containers(#20059,#20001)
literals("spec","spec",#20059)
#20060=@"var;{spec};{#20000}"
variables(#20060,"spec",#20000)
bind(#20059,#20060)
#20061=*
exprs(#20061,0,#20057,1,"switch")
hasLocation(#20061,#20029)
enclosing_stmt(#20061,#20048)
expr_containers(#20061,#20001)
literals("switch","switch",#20061)
#20062=*
exprs(#20062,0,#20055,1,"length")
hasLocation(#20062,#20033)
enclosing_stmt(#20062,#20048)
expr_containers(#20062,#20001)
literals("length","length",#20062)
#20063=*
exprs(#20063,60,#20048,2,"i++")
#20064=@"loc,{#10000},1,41,1,43"
locations_default(#20064,#10000,1,41,1,43)
hasLocation(#20063,#20064)
enclosing_stmt(#20063,#20048)
expr_containers(#20063,#20001)
#20065=*
exprs(#20065,79,#20063,0,"i")
hasLocation(#20065,#20037)
enclosing_stmt(#20065,#20048)
expr_containers(#20065,#20001)
literals("i","i",#20065)
bind(#20065,#20051)
#20066=*
stmts(#20066,23,#20048,0,"let i = 0")
#20067=@"loc,{#10000},1,6,1,14"
locations_default(#20067,#10000,1,6,1,14)
hasLocation(#20066,#20067)
stmt_containers(#20066,#20001)
#20068=*
exprs(#20068,64,#20066,0,"i = 0")
#20069=@"loc,{#10000},1,10,1,14"
locations_default(#20069,#10000,1,10,1,14)
hasLocation(#20068,#20069)
enclosing_stmt(#20068,#20066)
expr_containers(#20068,#20001)
#20070=*
exprs(#20070,78,#20068,0,"i")
hasLocation(#20070,#20013)
enclosing_stmt(#20070,#20066)
expr_containers(#20070,#20001)
literals("i","i",#20070)
decl(#20070,#20051)
#20071=*
exprs(#20071,3,#20068,1,"0")
hasLocation(#20071,#20017)
enclosing_stmt(#20071,#20066)
expr_containers(#20071,#20001)
literals("0","0",#20071)
#20072=*
stmts(#20072,1,#20048,3,"{\n}")
#20073=@"loc,{#10000},1,46,2,1"
locations_default(#20073,#10000,1,46,2,1)
hasLocation(#20072,#20073)
stmt_containers(#20072,#20001)
#20074=*
entry_cfg_node(#20074,#20001)
#20075=@"loc,{#10000},1,1,1,0"
locations_default(#20075,#10000,1,1,1,0)
hasLocation(#20074,#20075)
#20076=*
exit_cfg_node(#20076,#20001)
hasLocation(#20076,#20046)
successor(#20048,#20066)
successor(#20066,#20070)
successor(#20071,#20068)
successor(#20070,#20071)
successor(#20068,#20054)
successor(#20062,#20055)
successor(#20061,#20057)
successor(#20059,#20061)
successor(#20057,#20062)
successor(#20055,#20052)
successor(#20054,#20059)
#20077=*
guard_node(#20077,1,#20052)
hasLocation(#20077,#20053)
successor(#20077,#20072)
#20078=*
guard_node(#20078,0,#20052)
hasLocation(#20078,#20053)
successor(#20078,#20076)
successor(#20052,#20077)
successor(#20052,#20078)
successor(#20065,#20063)
successor(#20063,#20054)
successor(#20072,#20065)
successor(#20074,#20048)
numlines(#10000,2,2,0)
filetype(#10000,"javascript")