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