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

276 lines
7.5 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=@"var;{this};{#20000}"
variables(#20048,"this",#20000)
#20049=*
stmts(#20049,14,#20001,0,"for (le ... ++) {\n}")
#20050=@"loc,{#10000},1,1,2,1"
locations_default(#20050,#10000,1,1,2,1)
hasLocation(#20049,#20050)
stmt_containers(#20049,#20001)
#20051=*
scopes(#20051,5)
scopenodes(#20049,#20051)
scopenesting(#20051,#20000)
#20052=@"var;{i};{#20051}"
variables(#20052,"i",#20051)
#20053=*
exprs(#20053,27,#20049,1,"i < spe ... .length")
#20054=@"loc,{#10000},1,17,1,38"
locations_default(#20054,#10000,1,17,1,38)
hasLocation(#20053,#20054)
enclosing_stmt(#20053,#20049)
expr_containers(#20053,#20001)
#20055=*
exprs(#20055,79,#20053,0,"i")
hasLocation(#20055,#20021)
enclosing_stmt(#20055,#20049)
expr_containers(#20055,#20001)
literals("i","i",#20055)
bind(#20055,#20052)
#20056=*
exprs(#20056,14,#20053,1,"spec.switch.length")
#20057=@"loc,{#10000},1,21,1,38"
locations_default(#20057,#10000,1,21,1,38)
hasLocation(#20056,#20057)
enclosing_stmt(#20056,#20049)
expr_containers(#20056,#20001)
#20058=*
exprs(#20058,14,#20056,0,"spec.switch")
#20059=@"loc,{#10000},1,21,1,31"
locations_default(#20059,#10000,1,21,1,31)
hasLocation(#20058,#20059)
enclosing_stmt(#20058,#20049)
expr_containers(#20058,#20001)
#20060=*
exprs(#20060,79,#20058,0,"spec")
hasLocation(#20060,#20025)
enclosing_stmt(#20060,#20049)
expr_containers(#20060,#20001)
literals("spec","spec",#20060)
#20061=@"var;{spec};{#20000}"
variables(#20061,"spec",#20000)
bind(#20060,#20061)
#20062=*
exprs(#20062,0,#20058,1,"switch")
hasLocation(#20062,#20029)
enclosing_stmt(#20062,#20049)
expr_containers(#20062,#20001)
literals("switch","switch",#20062)
#20063=*
exprs(#20063,0,#20056,1,"length")
hasLocation(#20063,#20033)
enclosing_stmt(#20063,#20049)
expr_containers(#20063,#20001)
literals("length","length",#20063)
#20064=*
exprs(#20064,60,#20049,2,"i++")
#20065=@"loc,{#10000},1,41,1,43"
locations_default(#20065,#10000,1,41,1,43)
hasLocation(#20064,#20065)
enclosing_stmt(#20064,#20049)
expr_containers(#20064,#20001)
#20066=*
exprs(#20066,79,#20064,0,"i")
hasLocation(#20066,#20037)
enclosing_stmt(#20066,#20049)
expr_containers(#20066,#20001)
literals("i","i",#20066)
bind(#20066,#20052)
#20067=*
stmts(#20067,23,#20049,0,"let i = 0")
#20068=@"loc,{#10000},1,6,1,14"
locations_default(#20068,#10000,1,6,1,14)
hasLocation(#20067,#20068)
stmt_containers(#20067,#20001)
#20069=*
exprs(#20069,64,#20067,0,"i = 0")
#20070=@"loc,{#10000},1,10,1,14"
locations_default(#20070,#10000,1,10,1,14)
hasLocation(#20069,#20070)
enclosing_stmt(#20069,#20067)
expr_containers(#20069,#20001)
#20071=*
exprs(#20071,78,#20069,0,"i")
hasLocation(#20071,#20013)
enclosing_stmt(#20071,#20067)
expr_containers(#20071,#20001)
literals("i","i",#20071)
decl(#20071,#20052)
#20072=*
exprs(#20072,3,#20069,1,"0")
hasLocation(#20072,#20017)
enclosing_stmt(#20072,#20067)
expr_containers(#20072,#20001)
literals("0","0",#20072)
#20073=*
stmts(#20073,1,#20049,3,"{\n}")
#20074=@"loc,{#10000},1,46,2,1"
locations_default(#20074,#10000,1,46,2,1)
hasLocation(#20073,#20074)
stmt_containers(#20073,#20001)
#20075=*
entry_cfg_node(#20075,#20001)
#20076=@"loc,{#10000},1,1,1,0"
locations_default(#20076,#10000,1,1,1,0)
hasLocation(#20075,#20076)
#20077=*
exit_cfg_node(#20077,#20001)
hasLocation(#20077,#20046)
successor(#20049,#20067)
successor(#20067,#20071)
successor(#20072,#20069)
successor(#20071,#20072)
successor(#20069,#20055)
successor(#20063,#20056)
successor(#20062,#20058)
successor(#20060,#20062)
successor(#20058,#20063)
successor(#20056,#20053)
successor(#20055,#20060)
#20078=*
guard_node(#20078,1,#20053)
hasLocation(#20078,#20054)
successor(#20078,#20073)
#20079=*
guard_node(#20079,0,#20053)
hasLocation(#20079,#20054)
successor(#20079,#20077)
successor(#20053,#20078)
successor(#20053,#20079)
successor(#20066,#20064)
successor(#20064,#20055)
successor(#20073,#20066)
successor(#20075,#20049)
numlines(#10000,2,2,0)
filetype(#10000,"javascript")