mirror of
https://github.com/github/codeql.git
synced 2026-03-23 07:56:54 +01:00
486 lines
13 KiB
Plaintext
486 lines
13 KiB
Plaintext
#10000=@"/letExpr.js;sourcefile"
|
|
files(#10000,"/letExpr.js","letExpr","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"
|
|
#20002=*
|
|
lines(#20002,#20001,"var x = 42, y = 19;","
|
|
")
|
|
#20003=@"loc,{#10000},1,1,1,19"
|
|
locations_default(#20003,#10000,1,1,1,19)
|
|
hasLocation(#20002,#20003)
|
|
#20004=*
|
|
lines(#20004,#20001,"","
|
|
")
|
|
#20005=@"loc,{#10000},2,1,2,0"
|
|
locations_default(#20005,#10000,2,1,2,0)
|
|
hasLocation(#20004,#20005)
|
|
#20006=*
|
|
lines(#20006,#20001,"console.log(let (x = 23, y = 19) x + y);","
|
|
")
|
|
#20007=@"loc,{#10000},3,1,3,40"
|
|
locations_default(#20007,#10000,3,1,3,40)
|
|
hasLocation(#20006,#20007)
|
|
#20008=*
|
|
lines(#20008,#20001,"","
|
|
")
|
|
#20009=@"loc,{#10000},4,1,4,0"
|
|
locations_default(#20009,#10000,4,1,4,0)
|
|
hasLocation(#20008,#20009)
|
|
#20010=*
|
|
lines(#20010,#20001,"console.log(x - y);","")
|
|
#20011=@"loc,{#10000},5,1,5,19"
|
|
locations_default(#20011,#10000,5,1,5,19)
|
|
hasLocation(#20010,#20011)
|
|
numlines(#20001,5,3,0)
|
|
#20012=*
|
|
tokeninfo(#20012,7,#20001,0,"var")
|
|
#20013=@"loc,{#10000},1,1,1,3"
|
|
locations_default(#20013,#10000,1,1,1,3)
|
|
hasLocation(#20012,#20013)
|
|
#20014=*
|
|
tokeninfo(#20014,6,#20001,1,"x")
|
|
#20015=@"loc,{#10000},1,5,1,5"
|
|
locations_default(#20015,#10000,1,5,1,5)
|
|
hasLocation(#20014,#20015)
|
|
#20016=*
|
|
tokeninfo(#20016,8,#20001,2,"=")
|
|
#20017=@"loc,{#10000},1,7,1,7"
|
|
locations_default(#20017,#10000,1,7,1,7)
|
|
hasLocation(#20016,#20017)
|
|
#20018=*
|
|
tokeninfo(#20018,3,#20001,3,"42")
|
|
#20019=@"loc,{#10000},1,9,1,10"
|
|
locations_default(#20019,#10000,1,9,1,10)
|
|
hasLocation(#20018,#20019)
|
|
#20020=*
|
|
tokeninfo(#20020,8,#20001,4,",")
|
|
#20021=@"loc,{#10000},1,11,1,11"
|
|
locations_default(#20021,#10000,1,11,1,11)
|
|
hasLocation(#20020,#20021)
|
|
#20022=*
|
|
tokeninfo(#20022,6,#20001,5,"y")
|
|
#20023=@"loc,{#10000},1,13,1,13"
|
|
locations_default(#20023,#10000,1,13,1,13)
|
|
hasLocation(#20022,#20023)
|
|
#20024=*
|
|
tokeninfo(#20024,8,#20001,6,"=")
|
|
#20025=@"loc,{#10000},1,15,1,15"
|
|
locations_default(#20025,#10000,1,15,1,15)
|
|
hasLocation(#20024,#20025)
|
|
#20026=*
|
|
tokeninfo(#20026,3,#20001,7,"19")
|
|
#20027=@"loc,{#10000},1,17,1,18"
|
|
locations_default(#20027,#10000,1,17,1,18)
|
|
hasLocation(#20026,#20027)
|
|
#20028=*
|
|
tokeninfo(#20028,8,#20001,8,";")
|
|
#20029=@"loc,{#10000},1,19,1,19"
|
|
locations_default(#20029,#10000,1,19,1,19)
|
|
hasLocation(#20028,#20029)
|
|
#20030=*
|
|
tokeninfo(#20030,6,#20001,9,"console")
|
|
#20031=@"loc,{#10000},3,1,3,7"
|
|
locations_default(#20031,#10000,3,1,3,7)
|
|
hasLocation(#20030,#20031)
|
|
#20032=*
|
|
tokeninfo(#20032,8,#20001,10,".")
|
|
#20033=@"loc,{#10000},3,8,3,8"
|
|
locations_default(#20033,#10000,3,8,3,8)
|
|
hasLocation(#20032,#20033)
|
|
#20034=*
|
|
tokeninfo(#20034,6,#20001,11,"log")
|
|
#20035=@"loc,{#10000},3,9,3,11"
|
|
locations_default(#20035,#10000,3,9,3,11)
|
|
hasLocation(#20034,#20035)
|
|
#20036=*
|
|
tokeninfo(#20036,8,#20001,12,"(")
|
|
#20037=@"loc,{#10000},3,12,3,12"
|
|
locations_default(#20037,#10000,3,12,3,12)
|
|
hasLocation(#20036,#20037)
|
|
#20038=*
|
|
tokeninfo(#20038,7,#20001,13,"let")
|
|
#20039=@"loc,{#10000},3,13,3,15"
|
|
locations_default(#20039,#10000,3,13,3,15)
|
|
hasLocation(#20038,#20039)
|
|
#20040=*
|
|
tokeninfo(#20040,8,#20001,14,"(")
|
|
#20041=@"loc,{#10000},3,17,3,17"
|
|
locations_default(#20041,#10000,3,17,3,17)
|
|
hasLocation(#20040,#20041)
|
|
#20042=*
|
|
tokeninfo(#20042,6,#20001,15,"x")
|
|
#20043=@"loc,{#10000},3,18,3,18"
|
|
locations_default(#20043,#10000,3,18,3,18)
|
|
hasLocation(#20042,#20043)
|
|
#20044=*
|
|
tokeninfo(#20044,8,#20001,16,"=")
|
|
#20045=@"loc,{#10000},3,20,3,20"
|
|
locations_default(#20045,#10000,3,20,3,20)
|
|
hasLocation(#20044,#20045)
|
|
#20046=*
|
|
tokeninfo(#20046,3,#20001,17,"23")
|
|
#20047=@"loc,{#10000},3,22,3,23"
|
|
locations_default(#20047,#10000,3,22,3,23)
|
|
hasLocation(#20046,#20047)
|
|
#20048=*
|
|
tokeninfo(#20048,8,#20001,18,",")
|
|
#20049=@"loc,{#10000},3,24,3,24"
|
|
locations_default(#20049,#10000,3,24,3,24)
|
|
hasLocation(#20048,#20049)
|
|
#20050=*
|
|
tokeninfo(#20050,6,#20001,19,"y")
|
|
#20051=@"loc,{#10000},3,26,3,26"
|
|
locations_default(#20051,#10000,3,26,3,26)
|
|
hasLocation(#20050,#20051)
|
|
#20052=*
|
|
tokeninfo(#20052,8,#20001,20,"=")
|
|
#20053=@"loc,{#10000},3,28,3,28"
|
|
locations_default(#20053,#10000,3,28,3,28)
|
|
hasLocation(#20052,#20053)
|
|
#20054=*
|
|
tokeninfo(#20054,3,#20001,21,"19")
|
|
#20055=@"loc,{#10000},3,30,3,31"
|
|
locations_default(#20055,#10000,3,30,3,31)
|
|
hasLocation(#20054,#20055)
|
|
#20056=*
|
|
tokeninfo(#20056,8,#20001,22,")")
|
|
#20057=@"loc,{#10000},3,32,3,32"
|
|
locations_default(#20057,#10000,3,32,3,32)
|
|
hasLocation(#20056,#20057)
|
|
#20058=*
|
|
tokeninfo(#20058,6,#20001,23,"x")
|
|
#20059=@"loc,{#10000},3,34,3,34"
|
|
locations_default(#20059,#10000,3,34,3,34)
|
|
hasLocation(#20058,#20059)
|
|
#20060=*
|
|
tokeninfo(#20060,8,#20001,24,"+")
|
|
#20061=@"loc,{#10000},3,36,3,36"
|
|
locations_default(#20061,#10000,3,36,3,36)
|
|
hasLocation(#20060,#20061)
|
|
#20062=*
|
|
tokeninfo(#20062,6,#20001,25,"y")
|
|
#20063=@"loc,{#10000},3,38,3,38"
|
|
locations_default(#20063,#10000,3,38,3,38)
|
|
hasLocation(#20062,#20063)
|
|
#20064=*
|
|
tokeninfo(#20064,8,#20001,26,")")
|
|
#20065=@"loc,{#10000},3,39,3,39"
|
|
locations_default(#20065,#10000,3,39,3,39)
|
|
hasLocation(#20064,#20065)
|
|
#20066=*
|
|
tokeninfo(#20066,8,#20001,27,";")
|
|
#20067=@"loc,{#10000},3,40,3,40"
|
|
locations_default(#20067,#10000,3,40,3,40)
|
|
hasLocation(#20066,#20067)
|
|
#20068=*
|
|
tokeninfo(#20068,6,#20001,28,"console")
|
|
#20069=@"loc,{#10000},5,1,5,7"
|
|
locations_default(#20069,#10000,5,1,5,7)
|
|
hasLocation(#20068,#20069)
|
|
#20070=*
|
|
tokeninfo(#20070,8,#20001,29,".")
|
|
#20071=@"loc,{#10000},5,8,5,8"
|
|
locations_default(#20071,#10000,5,8,5,8)
|
|
hasLocation(#20070,#20071)
|
|
#20072=*
|
|
tokeninfo(#20072,6,#20001,30,"log")
|
|
#20073=@"loc,{#10000},5,9,5,11"
|
|
locations_default(#20073,#10000,5,9,5,11)
|
|
hasLocation(#20072,#20073)
|
|
#20074=*
|
|
tokeninfo(#20074,8,#20001,31,"(")
|
|
#20075=@"loc,{#10000},5,12,5,12"
|
|
locations_default(#20075,#10000,5,12,5,12)
|
|
hasLocation(#20074,#20075)
|
|
#20076=*
|
|
tokeninfo(#20076,6,#20001,32,"x")
|
|
#20077=@"loc,{#10000},5,13,5,13"
|
|
locations_default(#20077,#10000,5,13,5,13)
|
|
hasLocation(#20076,#20077)
|
|
#20078=*
|
|
tokeninfo(#20078,8,#20001,33,"-")
|
|
#20079=@"loc,{#10000},5,15,5,15"
|
|
locations_default(#20079,#10000,5,15,5,15)
|
|
hasLocation(#20078,#20079)
|
|
#20080=*
|
|
tokeninfo(#20080,6,#20001,34,"y")
|
|
#20081=@"loc,{#10000},5,17,5,17"
|
|
locations_default(#20081,#10000,5,17,5,17)
|
|
hasLocation(#20080,#20081)
|
|
#20082=*
|
|
tokeninfo(#20082,8,#20001,35,")")
|
|
#20083=@"loc,{#10000},5,18,5,18"
|
|
locations_default(#20083,#10000,5,18,5,18)
|
|
hasLocation(#20082,#20083)
|
|
#20084=*
|
|
tokeninfo(#20084,8,#20001,36,";")
|
|
#20085=@"loc,{#10000},5,19,5,19"
|
|
locations_default(#20085,#10000,5,19,5,19)
|
|
hasLocation(#20084,#20085)
|
|
#20086=*
|
|
tokeninfo(#20086,0,#20001,37,"")
|
|
#20087=@"loc,{#10000},5,20,5,19"
|
|
locations_default(#20087,#10000,5,20,5,19)
|
|
hasLocation(#20086,#20087)
|
|
toplevels(#20001,0)
|
|
#20088=@"loc,{#10000},1,1,5,19"
|
|
locations_default(#20088,#10000,1,1,5,19)
|
|
hasLocation(#20001,#20088)
|
|
#20089=@"var;{x};{#20000}"
|
|
variables(#20089,"x",#20000)
|
|
#20090=@"var;{y};{#20000}"
|
|
variables(#20090,"y",#20000)
|
|
#20091=*
|
|
stmts(#20091,18,#20001,0,"var x = 42, y = 19;")
|
|
hasLocation(#20091,#20003)
|
|
stmtContainers(#20091,#20001)
|
|
#20092=*
|
|
exprs(#20092,64,#20091,0,"x = 42")
|
|
#20093=@"loc,{#10000},1,5,1,10"
|
|
locations_default(#20093,#10000,1,5,1,10)
|
|
hasLocation(#20092,#20093)
|
|
enclosingStmt(#20092,#20091)
|
|
exprContainers(#20092,#20001)
|
|
#20094=*
|
|
exprs(#20094,78,#20092,0,"x")
|
|
hasLocation(#20094,#20015)
|
|
enclosingStmt(#20094,#20091)
|
|
exprContainers(#20094,#20001)
|
|
literals("x","x",#20094)
|
|
decl(#20094,#20089)
|
|
#20095=*
|
|
exprs(#20095,3,#20092,1,"42")
|
|
hasLocation(#20095,#20019)
|
|
enclosingStmt(#20095,#20091)
|
|
exprContainers(#20095,#20001)
|
|
literals("42","42",#20095)
|
|
#20096=*
|
|
exprs(#20096,64,#20091,1,"y = 19")
|
|
#20097=@"loc,{#10000},1,13,1,18"
|
|
locations_default(#20097,#10000,1,13,1,18)
|
|
hasLocation(#20096,#20097)
|
|
enclosingStmt(#20096,#20091)
|
|
exprContainers(#20096,#20001)
|
|
#20098=*
|
|
exprs(#20098,78,#20096,0,"y")
|
|
hasLocation(#20098,#20023)
|
|
enclosingStmt(#20098,#20091)
|
|
exprContainers(#20098,#20001)
|
|
literals("y","y",#20098)
|
|
decl(#20098,#20090)
|
|
#20099=*
|
|
exprs(#20099,3,#20096,1,"19")
|
|
hasLocation(#20099,#20027)
|
|
enclosingStmt(#20099,#20091)
|
|
exprContainers(#20099,#20001)
|
|
literals("19","19",#20099)
|
|
#20100=*
|
|
stmts(#20100,2,#20001,1,"console ... x + y);")
|
|
hasLocation(#20100,#20007)
|
|
stmtContainers(#20100,#20001)
|
|
#20101=*
|
|
exprs(#20101,13,#20100,0,"console ... x + y)")
|
|
#20102=@"loc,{#10000},3,1,3,39"
|
|
locations_default(#20102,#10000,3,1,3,39)
|
|
hasLocation(#20101,#20102)
|
|
enclosingStmt(#20101,#20100)
|
|
exprContainers(#20101,#20001)
|
|
#20103=*
|
|
exprs(#20103,14,#20101,-1,"console.log")
|
|
#20104=@"loc,{#10000},3,1,3,11"
|
|
locations_default(#20104,#10000,3,1,3,11)
|
|
hasLocation(#20103,#20104)
|
|
enclosingStmt(#20103,#20100)
|
|
exprContainers(#20103,#20001)
|
|
#20105=*
|
|
exprs(#20105,79,#20103,0,"console")
|
|
hasLocation(#20105,#20031)
|
|
enclosingStmt(#20105,#20100)
|
|
exprContainers(#20105,#20001)
|
|
literals("console","console",#20105)
|
|
#20106=@"var;{console};{#20000}"
|
|
variables(#20106,"console",#20000)
|
|
bind(#20105,#20106)
|
|
#20107=*
|
|
exprs(#20107,0,#20103,1,"log")
|
|
hasLocation(#20107,#20035)
|
|
enclosingStmt(#20107,#20100)
|
|
exprContainers(#20107,#20001)
|
|
literals("log","log",#20107)
|
|
#20108=*
|
|
exprs(#20108,77,#20101,0,"let (x ... ) x + y")
|
|
#20109=@"loc,{#10000},3,13,3,38"
|
|
locations_default(#20109,#10000,3,13,3,38)
|
|
hasLocation(#20108,#20109)
|
|
enclosingStmt(#20108,#20100)
|
|
exprContainers(#20108,#20001)
|
|
#20110=*
|
|
scopes(#20110,4)
|
|
scopenodes(#20108,#20110)
|
|
scopenesting(#20110,#20000)
|
|
#20111=@"var;{x};{#20110}"
|
|
variables(#20111,"x",#20110)
|
|
#20112=@"var;{y};{#20110}"
|
|
variables(#20112,"y",#20110)
|
|
#20113=*
|
|
exprs(#20113,64,#20108,0,"x = 23")
|
|
#20114=@"loc,{#10000},3,18,3,23"
|
|
locations_default(#20114,#10000,3,18,3,23)
|
|
hasLocation(#20113,#20114)
|
|
enclosingStmt(#20113,#20100)
|
|
exprContainers(#20113,#20001)
|
|
#20115=*
|
|
exprs(#20115,78,#20113,0,"x")
|
|
hasLocation(#20115,#20043)
|
|
enclosingStmt(#20115,#20100)
|
|
exprContainers(#20115,#20001)
|
|
literals("x","x",#20115)
|
|
decl(#20115,#20111)
|
|
#20116=*
|
|
exprs(#20116,3,#20113,1,"23")
|
|
hasLocation(#20116,#20047)
|
|
enclosingStmt(#20116,#20100)
|
|
exprContainers(#20116,#20001)
|
|
literals("23","23",#20116)
|
|
#20117=*
|
|
exprs(#20117,64,#20108,1,"y = 19")
|
|
#20118=@"loc,{#10000},3,26,3,31"
|
|
locations_default(#20118,#10000,3,26,3,31)
|
|
hasLocation(#20117,#20118)
|
|
enclosingStmt(#20117,#20100)
|
|
exprContainers(#20117,#20001)
|
|
#20119=*
|
|
exprs(#20119,78,#20117,0,"y")
|
|
hasLocation(#20119,#20051)
|
|
enclosingStmt(#20119,#20100)
|
|
exprContainers(#20119,#20001)
|
|
literals("y","y",#20119)
|
|
decl(#20119,#20112)
|
|
#20120=*
|
|
exprs(#20120,3,#20117,1,"19")
|
|
hasLocation(#20120,#20055)
|
|
enclosingStmt(#20120,#20100)
|
|
exprContainers(#20120,#20001)
|
|
literals("19","19",#20120)
|
|
#20121=*
|
|
exprs(#20121,34,#20108,-1,"x + y")
|
|
#20122=@"loc,{#10000},3,34,3,38"
|
|
locations_default(#20122,#10000,3,34,3,38)
|
|
hasLocation(#20121,#20122)
|
|
enclosingStmt(#20121,#20100)
|
|
exprContainers(#20121,#20001)
|
|
#20123=*
|
|
exprs(#20123,79,#20121,0,"x")
|
|
hasLocation(#20123,#20059)
|
|
enclosingStmt(#20123,#20100)
|
|
exprContainers(#20123,#20001)
|
|
literals("x","x",#20123)
|
|
bind(#20123,#20111)
|
|
#20124=*
|
|
exprs(#20124,79,#20121,1,"y")
|
|
hasLocation(#20124,#20063)
|
|
enclosingStmt(#20124,#20100)
|
|
exprContainers(#20124,#20001)
|
|
literals("y","y",#20124)
|
|
bind(#20124,#20112)
|
|
#20125=*
|
|
stmts(#20125,2,#20001,2,"console.log(x - y);")
|
|
hasLocation(#20125,#20011)
|
|
stmtContainers(#20125,#20001)
|
|
#20126=*
|
|
exprs(#20126,13,#20125,0,"console.log(x - y)")
|
|
#20127=@"loc,{#10000},5,1,5,18"
|
|
locations_default(#20127,#10000,5,1,5,18)
|
|
hasLocation(#20126,#20127)
|
|
enclosingStmt(#20126,#20125)
|
|
exprContainers(#20126,#20001)
|
|
#20128=*
|
|
exprs(#20128,14,#20126,-1,"console.log")
|
|
#20129=@"loc,{#10000},5,1,5,11"
|
|
locations_default(#20129,#10000,5,1,5,11)
|
|
hasLocation(#20128,#20129)
|
|
enclosingStmt(#20128,#20125)
|
|
exprContainers(#20128,#20001)
|
|
#20130=*
|
|
exprs(#20130,79,#20128,0,"console")
|
|
hasLocation(#20130,#20069)
|
|
enclosingStmt(#20130,#20125)
|
|
exprContainers(#20130,#20001)
|
|
literals("console","console",#20130)
|
|
bind(#20130,#20106)
|
|
#20131=*
|
|
exprs(#20131,0,#20128,1,"log")
|
|
hasLocation(#20131,#20073)
|
|
enclosingStmt(#20131,#20125)
|
|
exprContainers(#20131,#20001)
|
|
literals("log","log",#20131)
|
|
#20132=*
|
|
exprs(#20132,35,#20126,0,"x - y")
|
|
#20133=@"loc,{#10000},5,13,5,17"
|
|
locations_default(#20133,#10000,5,13,5,17)
|
|
hasLocation(#20132,#20133)
|
|
enclosingStmt(#20132,#20125)
|
|
exprContainers(#20132,#20001)
|
|
#20134=*
|
|
exprs(#20134,79,#20132,0,"x")
|
|
hasLocation(#20134,#20077)
|
|
enclosingStmt(#20134,#20125)
|
|
exprContainers(#20134,#20001)
|
|
literals("x","x",#20134)
|
|
bind(#20134,#20089)
|
|
#20135=*
|
|
exprs(#20135,79,#20132,1,"y")
|
|
hasLocation(#20135,#20081)
|
|
enclosingStmt(#20135,#20125)
|
|
exprContainers(#20135,#20001)
|
|
literals("y","y",#20135)
|
|
bind(#20135,#20090)
|
|
#20136=*
|
|
entry_cfg_node(#20136,#20001)
|
|
#20137=@"loc,{#10000},1,1,1,0"
|
|
locations_default(#20137,#10000,1,1,1,0)
|
|
hasLocation(#20136,#20137)
|
|
#20138=*
|
|
exit_cfg_node(#20138,#20001)
|
|
hasLocation(#20138,#20087)
|
|
successor(#20125,#20130)
|
|
successor(#20135,#20132)
|
|
successor(#20134,#20135)
|
|
successor(#20132,#20126)
|
|
successor(#20131,#20128)
|
|
successor(#20130,#20131)
|
|
successor(#20128,#20134)
|
|
successor(#20126,#20138)
|
|
successor(#20100,#20105)
|
|
successor(#20108,#20115)
|
|
successor(#20124,#20121)
|
|
successor(#20123,#20124)
|
|
successor(#20121,#20101)
|
|
successor(#20120,#20117)
|
|
successor(#20119,#20120)
|
|
successor(#20117,#20123)
|
|
successor(#20116,#20113)
|
|
successor(#20115,#20116)
|
|
successor(#20113,#20119)
|
|
successor(#20107,#20103)
|
|
successor(#20105,#20107)
|
|
successor(#20103,#20108)
|
|
successor(#20101,#20125)
|
|
successor(#20091,#20094)
|
|
successor(#20099,#20096)
|
|
successor(#20098,#20099)
|
|
successor(#20096,#20100)
|
|
successor(#20095,#20092)
|
|
successor(#20094,#20095)
|
|
successor(#20092,#20098)
|
|
successor(#20136,#20091)
|
|
numlines(#10000,5,3,0)
|
|
filetype(#10000,"javascript")
|