mirror of
https://github.com/github/codeql.git
synced 2026-02-16 23:13:43 +01:00
195 lines
5.4 KiB
Plaintext
195 lines
5.4 KiB
Plaintext
#10000=@"/async.js;sourcefile"
|
|
files(#10000,"/async.js","async","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,2,0"
|
|
locations_default(#20002,#10000,1,1,2,0)
|
|
hasLocation(#20001,#20002)
|
|
#20003=@"var;{f};{#20000}"
|
|
variables(#20003,"f",#20000)
|
|
#20004=*
|
|
stmts(#20004,23,#20001,0,"let f = ... foo();")
|
|
#20005=@"loc,{#10000},1,1,1,49"
|
|
locations_default(#20005,#10000,1,1,1,49)
|
|
hasLocation(#20004,#20005)
|
|
stmtContainers(#20004,#20001)
|
|
#20006=*
|
|
exprs(#20006,64,#20004,0,"f = asy ... t foo()")
|
|
#20007=@"loc,{#10000},1,5,1,48"
|
|
locations_default(#20007,#10000,1,5,1,48)
|
|
hasLocation(#20006,#20007)
|
|
enclosingStmt(#20006,#20004)
|
|
exprContainers(#20006,#20001)
|
|
#20008=*
|
|
exprs(#20008,78,#20006,0,"f")
|
|
#20009=@"loc,{#10000},1,5,1,5"
|
|
locations_default(#20009,#10000,1,5,1,5)
|
|
hasLocation(#20008,#20009)
|
|
enclosingStmt(#20008,#20004)
|
|
exprContainers(#20008,#20001)
|
|
literals("f","f",#20008)
|
|
decl(#20008,#20003)
|
|
#20010=*
|
|
exprs(#20010,65,#20006,1,"async() ... t foo()")
|
|
#20011=@"loc,{#10000},1,9,1,48"
|
|
locations_default(#20011,#10000,1,9,1,48)
|
|
hasLocation(#20010,#20011)
|
|
enclosingStmt(#20010,#20004)
|
|
exprContainers(#20010,#20001)
|
|
#20012=*
|
|
scopes(#20012,1)
|
|
scopenodes(#20010,#20012)
|
|
scopenesting(#20012,#20000)
|
|
isAsync(#20010)
|
|
#20013=*
|
|
exprs(#20013,92,#20010,-2,"await foo()")
|
|
#20014=@"loc,{#10000},1,38,1,48"
|
|
locations_default(#20014,#10000,1,38,1,48)
|
|
hasLocation(#20013,#20014)
|
|
exprContainers(#20013,#20010)
|
|
#20015=*
|
|
exprs(#20015,13,#20013,0,"foo()")
|
|
#20016=@"loc,{#10000},1,44,1,48"
|
|
locations_default(#20016,#10000,1,44,1,48)
|
|
hasLocation(#20015,#20016)
|
|
exprContainers(#20015,#20010)
|
|
#20017=*
|
|
exprs(#20017,79,#20015,-1,"foo")
|
|
#20018=@"loc,{#10000},1,44,1,46"
|
|
locations_default(#20018,#10000,1,44,1,46)
|
|
hasLocation(#20017,#20018)
|
|
exprContainers(#20017,#20010)
|
|
literals("foo","foo",#20017)
|
|
#20019=@"var;{foo};{#20000}"
|
|
variables(#20019,"foo",#20000)
|
|
bind(#20017,#20019)
|
|
numlines(#20010,1,1,0)
|
|
#20020=*
|
|
lines(#20020,#20001,"let f = async() : Promise<string> => await foo();","
|
|
")
|
|
hasLocation(#20020,#20005)
|
|
numlines(#20001,1,1,0)
|
|
#20021=*
|
|
tokeninfo(#20021,7,#20001,0,"let")
|
|
#20022=@"loc,{#10000},1,1,1,3"
|
|
locations_default(#20022,#10000,1,1,1,3)
|
|
hasLocation(#20021,#20022)
|
|
#20023=*
|
|
tokeninfo(#20023,6,#20001,1,"f")
|
|
hasLocation(#20023,#20009)
|
|
#20024=*
|
|
tokeninfo(#20024,8,#20001,2,"=")
|
|
#20025=@"loc,{#10000},1,7,1,7"
|
|
locations_default(#20025,#10000,1,7,1,7)
|
|
hasLocation(#20024,#20025)
|
|
#20026=*
|
|
tokeninfo(#20026,6,#20001,3,"async")
|
|
#20027=@"loc,{#10000},1,9,1,13"
|
|
locations_default(#20027,#10000,1,9,1,13)
|
|
hasLocation(#20026,#20027)
|
|
#20028=*
|
|
tokeninfo(#20028,8,#20001,4,"(")
|
|
#20029=@"loc,{#10000},1,14,1,14"
|
|
locations_default(#20029,#10000,1,14,1,14)
|
|
hasLocation(#20028,#20029)
|
|
#20030=*
|
|
tokeninfo(#20030,8,#20001,5,")")
|
|
#20031=@"loc,{#10000},1,15,1,15"
|
|
locations_default(#20031,#10000,1,15,1,15)
|
|
hasLocation(#20030,#20031)
|
|
#20032=*
|
|
tokeninfo(#20032,8,#20001,6,":")
|
|
#20033=@"loc,{#10000},1,17,1,17"
|
|
locations_default(#20033,#10000,1,17,1,17)
|
|
hasLocation(#20032,#20033)
|
|
#20034=*
|
|
tokeninfo(#20034,6,#20001,7,"Promise")
|
|
#20035=@"loc,{#10000},1,19,1,25"
|
|
locations_default(#20035,#10000,1,19,1,25)
|
|
hasLocation(#20034,#20035)
|
|
#20036=*
|
|
tokeninfo(#20036,8,#20001,8,"<")
|
|
#20037=@"loc,{#10000},1,26,1,26"
|
|
locations_default(#20037,#10000,1,26,1,26)
|
|
hasLocation(#20036,#20037)
|
|
#20038=*
|
|
tokeninfo(#20038,6,#20001,9,"string")
|
|
#20039=@"loc,{#10000},1,27,1,32"
|
|
locations_default(#20039,#10000,1,27,1,32)
|
|
hasLocation(#20038,#20039)
|
|
#20040=*
|
|
tokeninfo(#20040,8,#20001,10,">")
|
|
#20041=@"loc,{#10000},1,33,1,33"
|
|
locations_default(#20041,#10000,1,33,1,33)
|
|
hasLocation(#20040,#20041)
|
|
#20042=*
|
|
tokeninfo(#20042,8,#20001,11,"=>")
|
|
#20043=@"loc,{#10000},1,35,1,36"
|
|
locations_default(#20043,#10000,1,35,1,36)
|
|
hasLocation(#20042,#20043)
|
|
#20044=*
|
|
tokeninfo(#20044,6,#20001,12,"await")
|
|
#20045=@"loc,{#10000},1,38,1,42"
|
|
locations_default(#20045,#10000,1,38,1,42)
|
|
hasLocation(#20044,#20045)
|
|
#20046=*
|
|
tokeninfo(#20046,6,#20001,13,"foo")
|
|
hasLocation(#20046,#20018)
|
|
#20047=*
|
|
tokeninfo(#20047,8,#20001,14,"(")
|
|
#20048=@"loc,{#10000},1,47,1,47"
|
|
locations_default(#20048,#10000,1,47,1,47)
|
|
hasLocation(#20047,#20048)
|
|
#20049=*
|
|
tokeninfo(#20049,8,#20001,15,")")
|
|
#20050=@"loc,{#10000},1,48,1,48"
|
|
locations_default(#20050,#10000,1,48,1,48)
|
|
hasLocation(#20049,#20050)
|
|
#20051=*
|
|
tokeninfo(#20051,8,#20001,16,";")
|
|
#20052=@"loc,{#10000},1,49,1,49"
|
|
locations_default(#20052,#10000,1,49,1,49)
|
|
hasLocation(#20051,#20052)
|
|
#20053=*
|
|
tokeninfo(#20053,0,#20001,17,"")
|
|
#20054=@"loc,{#10000},2,1,2,0"
|
|
locations_default(#20054,#10000,2,1,2,0)
|
|
hasLocation(#20053,#20054)
|
|
#20055=*
|
|
entry_cfg_node(#20055,#20001)
|
|
#20056=@"loc,{#10000},1,1,1,0"
|
|
locations_default(#20056,#10000,1,1,1,0)
|
|
hasLocation(#20055,#20056)
|
|
#20057=*
|
|
exit_cfg_node(#20057,#20001)
|
|
hasLocation(#20057,#20054)
|
|
successor(#20004,#20008)
|
|
successor(#20010,#20006)
|
|
#20058=*
|
|
entry_cfg_node(#20058,#20010)
|
|
#20059=@"loc,{#10000},1,9,1,8"
|
|
locations_default(#20059,#10000,1,9,1,8)
|
|
hasLocation(#20058,#20059)
|
|
#20060=*
|
|
exit_cfg_node(#20060,#20010)
|
|
#20061=@"loc,{#10000},1,49,1,48"
|
|
locations_default(#20061,#10000,1,49,1,48)
|
|
hasLocation(#20060,#20061)
|
|
successor(#20017,#20015)
|
|
successor(#20015,#20013)
|
|
successor(#20013,#20060)
|
|
successor(#20058,#20017)
|
|
successor(#20008,#20010)
|
|
successor(#20006,#20057)
|
|
successor(#20055,#20004)
|
|
numlines(#10000,1,1,0)
|
|
filetype(#10000,"javascript")
|