mirror of
https://github.com/github/codeql.git
synced 2026-03-23 07:56:54 +01:00
344 lines
9.3 KiB
Plaintext
344 lines
9.3 KiB
Plaintext
#10000=@"/switch2.js;sourcefile"
|
|
files(#10000,"/switch2.js","switch2","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,10,0"
|
|
locations_default(#20002,#10000,1,1,10,0)
|
|
hasLocation(#20001,#20002)
|
|
#20003=@"var;{f};{#20000}"
|
|
variables(#20003,"f",#20000)
|
|
#20004=*
|
|
stmts(#20004,17,#20001,0,"functio ... }\n}")
|
|
#20005=@"loc,{#10000},1,1,9,1"
|
|
locations_default(#20005,#10000,1,1,9,1)
|
|
hasLocation(#20004,#20005)
|
|
stmtContainers(#20004,#20001)
|
|
#20006=*
|
|
exprs(#20006,78,#20004,-1,"f")
|
|
#20007=@"loc,{#10000},1,10,1,10"
|
|
locations_default(#20007,#10000,1,10,1,10)
|
|
hasLocation(#20006,#20007)
|
|
exprContainers(#20006,#20004)
|
|
literals("f","f",#20006)
|
|
decl(#20006,#20003)
|
|
#20008=*
|
|
scopes(#20008,1)
|
|
scopenodes(#20004,#20008)
|
|
scopenesting(#20008,#20000)
|
|
#20009=@"var;{arguments};{#20008}"
|
|
variables(#20009,"arguments",#20008)
|
|
isArgumentsObject(#20009)
|
|
#20010=*
|
|
stmts(#20010,1,#20004,-2,"{\n s ... }\n}")
|
|
#20011=@"loc,{#10000},1,14,9,1"
|
|
locations_default(#20011,#10000,1,14,9,1)
|
|
hasLocation(#20010,#20011)
|
|
stmtContainers(#20010,#20004)
|
|
#20012=*
|
|
stmts(#20012,8,#20010,0,"switch( ... ;\n }")
|
|
#20013=@"loc,{#10000},2,5,8,5"
|
|
locations_default(#20013,#10000,2,5,8,5)
|
|
hasLocation(#20012,#20013)
|
|
stmtContainers(#20012,#20004)
|
|
#20014=*
|
|
exprs(#20014,79,#20012,-1,"x")
|
|
#20015=@"loc,{#10000},2,12,2,12"
|
|
locations_default(#20015,#10000,2,12,2,12)
|
|
hasLocation(#20014,#20015)
|
|
enclosingStmt(#20014,#20012)
|
|
exprContainers(#20014,#20004)
|
|
literals("x","x",#20014)
|
|
#20016=@"var;{x};{#20000}"
|
|
variables(#20016,"x",#20000)
|
|
bind(#20014,#20016)
|
|
#20017=*
|
|
stmts(#20017,19,#20012,0,"case 0:")
|
|
#20018=@"loc,{#10000},3,5,3,11"
|
|
locations_default(#20018,#10000,3,5,3,11)
|
|
hasLocation(#20017,#20018)
|
|
stmtContainers(#20017,#20004)
|
|
#20019=*
|
|
exprs(#20019,3,#20017,-1,"0")
|
|
#20020=@"loc,{#10000},3,10,3,10"
|
|
locations_default(#20020,#10000,3,10,3,10)
|
|
hasLocation(#20019,#20020)
|
|
enclosingStmt(#20019,#20017)
|
|
exprContainers(#20019,#20004)
|
|
literals("0","0",#20019)
|
|
#20021=*
|
|
stmts(#20021,19,#20012,1,"default ... urn 42;")
|
|
#20022=@"loc,{#10000},4,5,5,18"
|
|
locations_default(#20022,#10000,4,5,5,18)
|
|
hasLocation(#20021,#20022)
|
|
stmtContainers(#20021,#20004)
|
|
#20023=*
|
|
stmts(#20023,9,#20021,0,"return 42;")
|
|
#20024=@"loc,{#10000},5,9,5,18"
|
|
locations_default(#20024,#10000,5,9,5,18)
|
|
hasLocation(#20023,#20024)
|
|
stmtContainers(#20023,#20004)
|
|
#20025=*
|
|
exprs(#20025,3,#20023,0,"42")
|
|
#20026=@"loc,{#10000},5,16,5,17"
|
|
locations_default(#20026,#10000,5,16,5,17)
|
|
hasLocation(#20025,#20026)
|
|
enclosingStmt(#20025,#20023)
|
|
exprContainers(#20025,#20004)
|
|
literals("42","42",#20025)
|
|
#20027=*
|
|
stmts(#20027,19,#20012,2,"case 1: ... urn 56;")
|
|
#20028=@"loc,{#10000},6,5,7,18"
|
|
locations_default(#20028,#10000,6,5,7,18)
|
|
hasLocation(#20027,#20028)
|
|
stmtContainers(#20027,#20004)
|
|
#20029=*
|
|
exprs(#20029,3,#20027,-1,"1")
|
|
#20030=@"loc,{#10000},6,10,6,10"
|
|
locations_default(#20030,#10000,6,10,6,10)
|
|
hasLocation(#20029,#20030)
|
|
enclosingStmt(#20029,#20027)
|
|
exprContainers(#20029,#20004)
|
|
literals("1","1",#20029)
|
|
#20031=*
|
|
stmts(#20031,9,#20027,0,"return 56;")
|
|
#20032=@"loc,{#10000},7,9,7,18"
|
|
locations_default(#20032,#10000,7,9,7,18)
|
|
hasLocation(#20031,#20032)
|
|
stmtContainers(#20031,#20004)
|
|
#20033=*
|
|
exprs(#20033,3,#20031,0,"56")
|
|
#20034=@"loc,{#10000},7,16,7,17"
|
|
locations_default(#20034,#10000,7,16,7,17)
|
|
hasLocation(#20033,#20034)
|
|
enclosingStmt(#20033,#20031)
|
|
exprContainers(#20033,#20004)
|
|
literals("56","56",#20033)
|
|
numlines(#20004,9,9,0)
|
|
#20035=*
|
|
lines(#20035,#20001,"function f() {","
|
|
")
|
|
#20036=@"loc,{#10000},1,1,1,14"
|
|
locations_default(#20036,#10000,1,1,1,14)
|
|
hasLocation(#20035,#20036)
|
|
#20037=*
|
|
lines(#20037,#20001," switch(x) {","
|
|
")
|
|
#20038=@"loc,{#10000},2,1,2,15"
|
|
locations_default(#20038,#10000,2,1,2,15)
|
|
hasLocation(#20037,#20038)
|
|
indentation(#10000,2," ",4)
|
|
#20039=*
|
|
lines(#20039,#20001," case 0:","
|
|
")
|
|
#20040=@"loc,{#10000},3,1,3,11"
|
|
locations_default(#20040,#10000,3,1,3,11)
|
|
hasLocation(#20039,#20040)
|
|
indentation(#10000,3," ",4)
|
|
#20041=*
|
|
lines(#20041,#20001," default:","
|
|
")
|
|
#20042=@"loc,{#10000},4,1,4,12"
|
|
locations_default(#20042,#10000,4,1,4,12)
|
|
hasLocation(#20041,#20042)
|
|
indentation(#10000,4," ",4)
|
|
#20043=*
|
|
lines(#20043,#20001," return 42;","
|
|
")
|
|
#20044=@"loc,{#10000},5,1,5,18"
|
|
locations_default(#20044,#10000,5,1,5,18)
|
|
hasLocation(#20043,#20044)
|
|
indentation(#10000,5," ",8)
|
|
#20045=*
|
|
lines(#20045,#20001," case 1:","
|
|
")
|
|
#20046=@"loc,{#10000},6,1,6,11"
|
|
locations_default(#20046,#10000,6,1,6,11)
|
|
hasLocation(#20045,#20046)
|
|
indentation(#10000,6," ",4)
|
|
#20047=*
|
|
lines(#20047,#20001," return 56;","
|
|
")
|
|
#20048=@"loc,{#10000},7,1,7,18"
|
|
locations_default(#20048,#10000,7,1,7,18)
|
|
hasLocation(#20047,#20048)
|
|
indentation(#10000,7," ",8)
|
|
#20049=*
|
|
lines(#20049,#20001," }","
|
|
")
|
|
#20050=@"loc,{#10000},8,1,8,5"
|
|
locations_default(#20050,#10000,8,1,8,5)
|
|
hasLocation(#20049,#20050)
|
|
indentation(#10000,8," ",4)
|
|
#20051=*
|
|
lines(#20051,#20001,"}","
|
|
")
|
|
#20052=@"loc,{#10000},9,1,9,1"
|
|
locations_default(#20052,#10000,9,1,9,1)
|
|
hasLocation(#20051,#20052)
|
|
numlines(#20001,9,9,0)
|
|
#20053=*
|
|
tokeninfo(#20053,7,#20001,0,"function")
|
|
#20054=@"loc,{#10000},1,1,1,8"
|
|
locations_default(#20054,#10000,1,1,1,8)
|
|
hasLocation(#20053,#20054)
|
|
#20055=*
|
|
tokeninfo(#20055,6,#20001,1,"f")
|
|
hasLocation(#20055,#20007)
|
|
#20056=*
|
|
tokeninfo(#20056,8,#20001,2,"(")
|
|
#20057=@"loc,{#10000},1,11,1,11"
|
|
locations_default(#20057,#10000,1,11,1,11)
|
|
hasLocation(#20056,#20057)
|
|
#20058=*
|
|
tokeninfo(#20058,8,#20001,3,")")
|
|
#20059=@"loc,{#10000},1,12,1,12"
|
|
locations_default(#20059,#10000,1,12,1,12)
|
|
hasLocation(#20058,#20059)
|
|
#20060=*
|
|
tokeninfo(#20060,8,#20001,4,"{")
|
|
#20061=@"loc,{#10000},1,14,1,14"
|
|
locations_default(#20061,#10000,1,14,1,14)
|
|
hasLocation(#20060,#20061)
|
|
#20062=*
|
|
tokeninfo(#20062,7,#20001,5,"switch")
|
|
#20063=@"loc,{#10000},2,5,2,10"
|
|
locations_default(#20063,#10000,2,5,2,10)
|
|
hasLocation(#20062,#20063)
|
|
#20064=*
|
|
tokeninfo(#20064,8,#20001,6,"(")
|
|
#20065=@"loc,{#10000},2,11,2,11"
|
|
locations_default(#20065,#10000,2,11,2,11)
|
|
hasLocation(#20064,#20065)
|
|
#20066=*
|
|
tokeninfo(#20066,6,#20001,7,"x")
|
|
hasLocation(#20066,#20015)
|
|
#20067=*
|
|
tokeninfo(#20067,8,#20001,8,")")
|
|
#20068=@"loc,{#10000},2,13,2,13"
|
|
locations_default(#20068,#10000,2,13,2,13)
|
|
hasLocation(#20067,#20068)
|
|
#20069=*
|
|
tokeninfo(#20069,8,#20001,9,"{")
|
|
#20070=@"loc,{#10000},2,15,2,15"
|
|
locations_default(#20070,#10000,2,15,2,15)
|
|
hasLocation(#20069,#20070)
|
|
#20071=*
|
|
tokeninfo(#20071,7,#20001,10,"case")
|
|
#20072=@"loc,{#10000},3,5,3,8"
|
|
locations_default(#20072,#10000,3,5,3,8)
|
|
hasLocation(#20071,#20072)
|
|
#20073=*
|
|
tokeninfo(#20073,3,#20001,11,"0")
|
|
hasLocation(#20073,#20020)
|
|
#20074=*
|
|
tokeninfo(#20074,8,#20001,12,":")
|
|
#20075=@"loc,{#10000},3,11,3,11"
|
|
locations_default(#20075,#10000,3,11,3,11)
|
|
hasLocation(#20074,#20075)
|
|
#20076=*
|
|
tokeninfo(#20076,7,#20001,13,"default")
|
|
#20077=@"loc,{#10000},4,5,4,11"
|
|
locations_default(#20077,#10000,4,5,4,11)
|
|
hasLocation(#20076,#20077)
|
|
#20078=*
|
|
tokeninfo(#20078,8,#20001,14,":")
|
|
#20079=@"loc,{#10000},4,12,4,12"
|
|
locations_default(#20079,#10000,4,12,4,12)
|
|
hasLocation(#20078,#20079)
|
|
#20080=*
|
|
tokeninfo(#20080,7,#20001,15,"return")
|
|
#20081=@"loc,{#10000},5,9,5,14"
|
|
locations_default(#20081,#10000,5,9,5,14)
|
|
hasLocation(#20080,#20081)
|
|
#20082=*
|
|
tokeninfo(#20082,3,#20001,16,"42")
|
|
hasLocation(#20082,#20026)
|
|
#20083=*
|
|
tokeninfo(#20083,8,#20001,17,";")
|
|
#20084=@"loc,{#10000},5,18,5,18"
|
|
locations_default(#20084,#10000,5,18,5,18)
|
|
hasLocation(#20083,#20084)
|
|
#20085=*
|
|
tokeninfo(#20085,7,#20001,18,"case")
|
|
#20086=@"loc,{#10000},6,5,6,8"
|
|
locations_default(#20086,#10000,6,5,6,8)
|
|
hasLocation(#20085,#20086)
|
|
#20087=*
|
|
tokeninfo(#20087,3,#20001,19,"1")
|
|
hasLocation(#20087,#20030)
|
|
#20088=*
|
|
tokeninfo(#20088,8,#20001,20,":")
|
|
#20089=@"loc,{#10000},6,11,6,11"
|
|
locations_default(#20089,#10000,6,11,6,11)
|
|
hasLocation(#20088,#20089)
|
|
#20090=*
|
|
tokeninfo(#20090,7,#20001,21,"return")
|
|
#20091=@"loc,{#10000},7,9,7,14"
|
|
locations_default(#20091,#10000,7,9,7,14)
|
|
hasLocation(#20090,#20091)
|
|
#20092=*
|
|
tokeninfo(#20092,3,#20001,22,"56")
|
|
hasLocation(#20092,#20034)
|
|
#20093=*
|
|
tokeninfo(#20093,8,#20001,23,";")
|
|
#20094=@"loc,{#10000},7,18,7,18"
|
|
locations_default(#20094,#10000,7,18,7,18)
|
|
hasLocation(#20093,#20094)
|
|
#20095=*
|
|
tokeninfo(#20095,8,#20001,24,"}")
|
|
#20096=@"loc,{#10000},8,5,8,5"
|
|
locations_default(#20096,#10000,8,5,8,5)
|
|
hasLocation(#20095,#20096)
|
|
#20097=*
|
|
tokeninfo(#20097,8,#20001,25,"}")
|
|
hasLocation(#20097,#20052)
|
|
#20098=*
|
|
tokeninfo(#20098,0,#20001,26,"")
|
|
#20099=@"loc,{#10000},10,1,10,0"
|
|
locations_default(#20099,#10000,10,1,10,0)
|
|
hasLocation(#20098,#20099)
|
|
#20100=*
|
|
entry_cfg_node(#20100,#20001)
|
|
#20101=@"loc,{#10000},1,1,1,0"
|
|
locations_default(#20101,#10000,1,1,1,0)
|
|
hasLocation(#20100,#20101)
|
|
#20102=*
|
|
exit_cfg_node(#20102,#20001)
|
|
hasLocation(#20102,#20099)
|
|
successor(#20004,#20102)
|
|
#20103=*
|
|
entry_cfg_node(#20103,#20004)
|
|
hasLocation(#20103,#20101)
|
|
#20104=*
|
|
exit_cfg_node(#20104,#20004)
|
|
#20105=@"loc,{#10000},9,2,9,1"
|
|
locations_default(#20105,#10000,9,2,9,1)
|
|
hasLocation(#20104,#20105)
|
|
successor(#20010,#20012)
|
|
successor(#20012,#20014)
|
|
successor(#20014,#20017)
|
|
successor(#20027,#20029)
|
|
successor(#20029,#20033)
|
|
successor(#20029,#20021)
|
|
successor(#20033,#20031)
|
|
successor(#20031,#20104)
|
|
successor(#20021,#20025)
|
|
successor(#20025,#20023)
|
|
successor(#20023,#20104)
|
|
successor(#20017,#20019)
|
|
successor(#20019,#20021)
|
|
successor(#20019,#20027)
|
|
successor(#20103,#20010)
|
|
successor(#20006,#20004)
|
|
successor(#20100,#20006)
|
|
numlines(#10000,9,9,0)
|
|
filetype(#10000,"javascript")
|