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