Files
codeql/javascript/extractor/tests/es2017/output/trap/export-async-1.js.trap
2021-09-14 10:25:42 +02:00

149 lines
4.0 KiB
Plaintext

#10000=@"/export-async-1.js;sourcefile"
files(#10000,"/export-async-1.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 default async function f() {};","
")
#20003=@"loc,{#10000},1,1,1,37"
locations_default(#20003,#10000,1,1,1,37)
hasLocation(#20002,#20003)
numlines(#20001,1,1,0)
#20004=*
tokeninfo(#20004,7,#20001,0,"export")
#20005=@"loc,{#10000},1,1,1,6"
locations_default(#20005,#10000,1,1,1,6)
hasLocation(#20004,#20005)
#20006=*
tokeninfo(#20006,7,#20001,1,"default")
#20007=@"loc,{#10000},1,8,1,14"
locations_default(#20007,#10000,1,8,1,14)
hasLocation(#20006,#20007)
#20008=*
tokeninfo(#20008,6,#20001,2,"async")
#20009=@"loc,{#10000},1,16,1,20"
locations_default(#20009,#10000,1,16,1,20)
hasLocation(#20008,#20009)
#20010=*
tokeninfo(#20010,7,#20001,3,"function")
#20011=@"loc,{#10000},1,22,1,29"
locations_default(#20011,#10000,1,22,1,29)
hasLocation(#20010,#20011)
#20012=*
tokeninfo(#20012,6,#20001,4,"f")
#20013=@"loc,{#10000},1,31,1,31"
locations_default(#20013,#10000,1,31,1,31)
hasLocation(#20012,#20013)
#20014=*
tokeninfo(#20014,8,#20001,5,"(")
#20015=@"loc,{#10000},1,32,1,32"
locations_default(#20015,#10000,1,32,1,32)
hasLocation(#20014,#20015)
#20016=*
tokeninfo(#20016,8,#20001,6,")")
#20017=@"loc,{#10000},1,33,1,33"
locations_default(#20017,#10000,1,33,1,33)
hasLocation(#20016,#20017)
#20018=*
tokeninfo(#20018,8,#20001,7,"{")
#20019=@"loc,{#10000},1,35,1,35"
locations_default(#20019,#10000,1,35,1,35)
hasLocation(#20018,#20019)
#20020=*
tokeninfo(#20020,8,#20001,8,"}")
#20021=@"loc,{#10000},1,36,1,36"
locations_default(#20021,#10000,1,36,1,36)
hasLocation(#20020,#20021)
#20022=*
tokeninfo(#20022,8,#20001,9,";")
#20023=@"loc,{#10000},1,37,1,37"
locations_default(#20023,#10000,1,37,1,37)
hasLocation(#20022,#20023)
#20024=*
tokeninfo(#20024,0,#20001,10,"")
#20025=@"loc,{#10000},2,1,2,0"
locations_default(#20025,#10000,2,1,2,0)
hasLocation(#20024,#20025)
toplevels(#20001,0)
#20026=@"loc,{#10000},1,1,2,0"
locations_default(#20026,#10000,1,1,2,0)
hasLocation(#20001,#20026)
#20027=@"module;{#10000},1,1"
scopes(#20027,3)
scopenodes(#20001,#20027)
scopenesting(#20027,#20000)
is_module(#20001)
is_es2015_module(#20001)
#20028=@"var;{f};{#20027}"
variables(#20028,"f",#20027)
#20029=*
stmts(#20029,29,#20001,0,"export ... f() {}")
#20030=@"loc,{#10000},1,1,1,36"
locations_default(#20030,#10000,1,1,1,36)
hasLocation(#20029,#20030)
stmt_containers(#20029,#20001)
#20031=*
stmts(#20031,17,#20029,0,"async f ... f() {}")
#20032=@"loc,{#10000},1,16,1,36"
locations_default(#20032,#10000,1,16,1,36)
hasLocation(#20031,#20032)
stmt_containers(#20031,#20001)
#20033=*
exprs(#20033,78,#20031,-1,"f")
hasLocation(#20033,#20013)
expr_containers(#20033,#20031)
literals("f","f",#20033)
decl(#20033,#20028)
#20034=*
scopes(#20034,1)
scopenodes(#20031,#20034)
scopenesting(#20034,#20027)
#20035=@"var;{arguments};{#20034}"
variables(#20035,"arguments",#20034)
is_arguments_object(#20035)
is_async(#20031)
#20036=*
stmts(#20036,1,#20031,-2,"{}")
#20037=@"loc,{#10000},1,35,1,36"
locations_default(#20037,#10000,1,35,1,36)
hasLocation(#20036,#20037)
stmt_containers(#20036,#20031)
#20038=*
stmts(#20038,0,#20001,1,";")
hasLocation(#20038,#20023)
stmt_containers(#20038,#20001)
#20039=*
entry_cfg_node(#20039,#20001)
#20040=@"loc,{#10000},1,1,1,0"
locations_default(#20040,#10000,1,1,1,0)
hasLocation(#20039,#20040)
#20041=*
exit_cfg_node(#20041,#20001)
hasLocation(#20041,#20025)
successor(#20038,#20041)
successor(#20029,#20031)
successor(#20031,#20038)
#20042=*
entry_cfg_node(#20042,#20031)
#20043=@"loc,{#10000},1,16,1,15"
locations_default(#20043,#10000,1,16,1,15)
hasLocation(#20042,#20043)
#20044=*
exit_cfg_node(#20044,#20031)
#20045=@"loc,{#10000},1,37,1,36"
locations_default(#20045,#10000,1,37,1,36)
hasLocation(#20044,#20045)
successor(#20036,#20044)
successor(#20042,#20036)
successor(#20033,#20029)
successor(#20039,#20033)
numlines(#10000,1,1,0)
filetype(#10000,"javascript")