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

239 lines
6.3 KiB
Plaintext

#10000=@"/switch.js;sourcefile"
files(#10000,"/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,"function g() {","
")
#20003=@"loc,{#10000},1,1,1,14"
locations_default(#20003,#10000,1,1,1,14)
hasLocation(#20002,#20003)
#20004=*
lines(#20004,#20001," switch (0) {","
")
#20005=@"loc,{#10000},2,1,2,13"
locations_default(#20005,#10000,2,1,2,13)
hasLocation(#20004,#20005)
indentation(#10000,2," ",1)
#20006=*
lines(#20006,#20001," default:","
")
#20007=@"loc,{#10000},3,1,3,9"
locations_default(#20007,#10000,3,1,3,9)
hasLocation(#20006,#20007)
indentation(#10000,3," ",1)
#20008=*
lines(#20008,#20001," var i;","
")
#20009=@"loc,{#10000},4,1,4,8"
locations_default(#20009,#10000,4,1,4,8)
hasLocation(#20008,#20009)
indentation(#10000,4," ",2)
#20010=*
lines(#20010,#20001," }","
")
#20011=@"loc,{#10000},5,1,5,2"
locations_default(#20011,#10000,5,1,5,2)
hasLocation(#20010,#20011)
indentation(#10000,5," ",1)
#20012=*
lines(#20012,#20001,"}","
")
#20013=@"loc,{#10000},6,1,6,1"
locations_default(#20013,#10000,6,1,6,1)
hasLocation(#20012,#20013)
numlines(#20001,6,6,0)
#20014=*
tokeninfo(#20014,7,#20001,0,"function")
#20015=@"loc,{#10000},1,1,1,8"
locations_default(#20015,#10000,1,1,1,8)
hasLocation(#20014,#20015)
#20016=*
tokeninfo(#20016,6,#20001,1,"g")
#20017=@"loc,{#10000},1,10,1,10"
locations_default(#20017,#10000,1,10,1,10)
hasLocation(#20016,#20017)
#20018=*
tokeninfo(#20018,8,#20001,2,"(")
#20019=@"loc,{#10000},1,11,1,11"
locations_default(#20019,#10000,1,11,1,11)
hasLocation(#20018,#20019)
#20020=*
tokeninfo(#20020,8,#20001,3,")")
#20021=@"loc,{#10000},1,12,1,12"
locations_default(#20021,#10000,1,12,1,12)
hasLocation(#20020,#20021)
#20022=*
tokeninfo(#20022,8,#20001,4,"{")
#20023=@"loc,{#10000},1,14,1,14"
locations_default(#20023,#10000,1,14,1,14)
hasLocation(#20022,#20023)
#20024=*
tokeninfo(#20024,7,#20001,5,"switch")
#20025=@"loc,{#10000},2,2,2,7"
locations_default(#20025,#10000,2,2,2,7)
hasLocation(#20024,#20025)
#20026=*
tokeninfo(#20026,8,#20001,6,"(")
#20027=@"loc,{#10000},2,9,2,9"
locations_default(#20027,#10000,2,9,2,9)
hasLocation(#20026,#20027)
#20028=*
tokeninfo(#20028,3,#20001,7,"0")
#20029=@"loc,{#10000},2,10,2,10"
locations_default(#20029,#10000,2,10,2,10)
hasLocation(#20028,#20029)
#20030=*
tokeninfo(#20030,8,#20001,8,")")
#20031=@"loc,{#10000},2,11,2,11"
locations_default(#20031,#10000,2,11,2,11)
hasLocation(#20030,#20031)
#20032=*
tokeninfo(#20032,8,#20001,9,"{")
#20033=@"loc,{#10000},2,13,2,13"
locations_default(#20033,#10000,2,13,2,13)
hasLocation(#20032,#20033)
#20034=*
tokeninfo(#20034,7,#20001,10,"default")
#20035=@"loc,{#10000},3,2,3,8"
locations_default(#20035,#10000,3,2,3,8)
hasLocation(#20034,#20035)
#20036=*
tokeninfo(#20036,8,#20001,11,":")
#20037=@"loc,{#10000},3,9,3,9"
locations_default(#20037,#10000,3,9,3,9)
hasLocation(#20036,#20037)
#20038=*
tokeninfo(#20038,7,#20001,12,"var")
#20039=@"loc,{#10000},4,3,4,5"
locations_default(#20039,#10000,4,3,4,5)
hasLocation(#20038,#20039)
#20040=*
tokeninfo(#20040,6,#20001,13,"i")
#20041=@"loc,{#10000},4,7,4,7"
locations_default(#20041,#10000,4,7,4,7)
hasLocation(#20040,#20041)
#20042=*
tokeninfo(#20042,8,#20001,14,";")
#20043=@"loc,{#10000},4,8,4,8"
locations_default(#20043,#10000,4,8,4,8)
hasLocation(#20042,#20043)
#20044=*
tokeninfo(#20044,8,#20001,15,"}")
#20045=@"loc,{#10000},5,2,5,2"
locations_default(#20045,#10000,5,2,5,2)
hasLocation(#20044,#20045)
#20046=*
tokeninfo(#20046,8,#20001,16,"}")
hasLocation(#20046,#20013)
#20047=*
tokeninfo(#20047,0,#20001,17,"")
#20048=@"loc,{#10000},7,1,7,0"
locations_default(#20048,#10000,7,1,7,0)
hasLocation(#20047,#20048)
toplevels(#20001,0)
#20049=@"loc,{#10000},1,1,7,0"
locations_default(#20049,#10000,1,1,7,0)
hasLocation(#20001,#20049)
#20050=@"var;{g};{#20000}"
variables(#20050,"g",#20000)
#20051=*
stmts(#20051,17,#20001,0,"functio ... i;\n\t}\n}")
#20052=@"loc,{#10000},1,1,6,1"
locations_default(#20052,#10000,1,1,6,1)
hasLocation(#20051,#20052)
stmt_containers(#20051,#20001)
#20053=*
exprs(#20053,78,#20051,-1,"g")
hasLocation(#20053,#20017)
expr_containers(#20053,#20051)
literals("g","g",#20053)
decl(#20053,#20050)
#20054=*
scopes(#20054,1)
scopenodes(#20051,#20054)
scopenesting(#20054,#20000)
#20055=@"var;{i};{#20054}"
variables(#20055,"i",#20054)
#20056=@"var;{arguments};{#20054}"
variables(#20056,"arguments",#20054)
is_arguments_object(#20056)
#20057=*
stmts(#20057,1,#20051,-2,"{\n\tswit ... i;\n\t}\n}")
#20058=@"loc,{#10000},1,14,6,1"
locations_default(#20058,#10000,1,14,6,1)
hasLocation(#20057,#20058)
stmt_containers(#20057,#20051)
#20059=*
stmts(#20059,8,#20057,0,"switch ... r i;\n\t}")
#20060=@"loc,{#10000},2,2,5,2"
locations_default(#20060,#10000,2,2,5,2)
hasLocation(#20059,#20060)
stmt_containers(#20059,#20051)
#20061=*
exprs(#20061,3,#20059,-1,"0")
hasLocation(#20061,#20029)
enclosing_stmt(#20061,#20059)
expr_containers(#20061,#20051)
literals("0","0",#20061)
#20062=*
stmts(#20062,19,#20059,0,"default:\n\t\tvar i;")
#20063=@"loc,{#10000},3,2,4,8"
locations_default(#20063,#10000,3,2,4,8)
hasLocation(#20062,#20063)
stmt_containers(#20062,#20051)
#20064=*
stmts(#20064,18,#20062,0,"var i;")
#20065=@"loc,{#10000},4,3,4,8"
locations_default(#20065,#10000,4,3,4,8)
hasLocation(#20064,#20065)
stmt_containers(#20064,#20051)
#20066=*
exprs(#20066,64,#20064,0,"i")
hasLocation(#20066,#20041)
enclosing_stmt(#20066,#20064)
expr_containers(#20066,#20051)
#20067=*
exprs(#20067,78,#20066,0,"i")
hasLocation(#20067,#20041)
enclosing_stmt(#20067,#20064)
expr_containers(#20067,#20051)
literals("i","i",#20067)
decl(#20067,#20055)
#20068=*
entry_cfg_node(#20068,#20001)
#20069=@"loc,{#10000},1,1,1,0"
locations_default(#20069,#10000,1,1,1,0)
hasLocation(#20068,#20069)
#20070=*
exit_cfg_node(#20070,#20001)
hasLocation(#20070,#20048)
successor(#20051,#20070)
#20071=*
entry_cfg_node(#20071,#20051)
hasLocation(#20071,#20069)
#20072=*
exit_cfg_node(#20072,#20051)
#20073=@"loc,{#10000},6,2,6,1"
locations_default(#20073,#10000,6,2,6,1)
hasLocation(#20072,#20073)
successor(#20057,#20059)
successor(#20059,#20061)
successor(#20061,#20062)
successor(#20062,#20064)
successor(#20064,#20067)
successor(#20067,#20066)
successor(#20066,#20072)
successor(#20071,#20057)
successor(#20053,#20051)
successor(#20068,#20053)
numlines(#10000,6,6,0)
filetype(#10000,"javascript")