Files
codeql/javascript/extractor/tests/es2015/output/trap/export2.js.trap
2020-09-04 11:51:51 +02:00

135 lines
3.7 KiB
Plaintext

#10000=@"/export2.js;sourcefile"
files(#10000,"/export2.js","export2","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,"export function f() {};","")
#20003=@"loc,{#10000},1,1,1,23"
locations_default(#20003,#10000,1,1,1,23)
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,"function")
#20007=@"loc,{#10000},1,8,1,15"
locations_default(#20007,#10000,1,8,1,15)
hasLocation(#20006,#20007)
#20008=*
tokeninfo(#20008,6,#20001,2,"f")
#20009=@"loc,{#10000},1,17,1,17"
locations_default(#20009,#10000,1,17,1,17)
hasLocation(#20008,#20009)
#20010=*
tokeninfo(#20010,8,#20001,3,"(")
#20011=@"loc,{#10000},1,18,1,18"
locations_default(#20011,#10000,1,18,1,18)
hasLocation(#20010,#20011)
#20012=*
tokeninfo(#20012,8,#20001,4,")")
#20013=@"loc,{#10000},1,19,1,19"
locations_default(#20013,#10000,1,19,1,19)
hasLocation(#20012,#20013)
#20014=*
tokeninfo(#20014,8,#20001,5,"{")
#20015=@"loc,{#10000},1,21,1,21"
locations_default(#20015,#10000,1,21,1,21)
hasLocation(#20014,#20015)
#20016=*
tokeninfo(#20016,8,#20001,6,"}")
#20017=@"loc,{#10000},1,22,1,22"
locations_default(#20017,#10000,1,22,1,22)
hasLocation(#20016,#20017)
#20018=*
tokeninfo(#20018,8,#20001,7,";")
#20019=@"loc,{#10000},1,23,1,23"
locations_default(#20019,#10000,1,23,1,23)
hasLocation(#20018,#20019)
#20020=*
tokeninfo(#20020,0,#20001,8,"")
#20021=@"loc,{#10000},1,24,1,23"
locations_default(#20021,#10000,1,24,1,23)
hasLocation(#20020,#20021)
toplevels(#20001,0)
hasLocation(#20001,#20003)
#20022=@"module;{#10000},1,1"
scopes(#20022,3)
scopenodes(#20001,#20022)
scopenesting(#20022,#20000)
is_module(#20001)
is_es2015_module(#20001)
#20023=@"var;{f};{#20022}"
variables(#20023,"f",#20022)
#20024=*
stmts(#20024,30,#20001,0,"export ... f() {}")
#20025=@"loc,{#10000},1,1,1,22"
locations_default(#20025,#10000,1,1,1,22)
hasLocation(#20024,#20025)
stmt_containers(#20024,#20001)
#20026=*
stmts(#20026,17,#20024,-1,"function f() {}")
#20027=@"loc,{#10000},1,8,1,22"
locations_default(#20027,#10000,1,8,1,22)
hasLocation(#20026,#20027)
stmt_containers(#20026,#20001)
#20028=*
exprs(#20028,78,#20026,-1,"f")
hasLocation(#20028,#20009)
expr_containers(#20028,#20026)
literals("f","f",#20028)
decl(#20028,#20023)
#20029=*
scopes(#20029,1)
scopenodes(#20026,#20029)
scopenesting(#20029,#20022)
#20030=@"var;{arguments};{#20029}"
variables(#20030,"arguments",#20029)
is_arguments_object(#20030)
#20031=*
stmts(#20031,1,#20026,-2,"{}")
#20032=@"loc,{#10000},1,21,1,22"
locations_default(#20032,#10000,1,21,1,22)
hasLocation(#20031,#20032)
stmt_containers(#20031,#20026)
#20033=*
stmts(#20033,0,#20001,1,";")
hasLocation(#20033,#20019)
stmt_containers(#20033,#20001)
#20034=*
entry_cfg_node(#20034,#20001)
#20035=@"loc,{#10000},1,1,1,0"
locations_default(#20035,#10000,1,1,1,0)
hasLocation(#20034,#20035)
#20036=*
exit_cfg_node(#20036,#20001)
hasLocation(#20036,#20021)
successor(#20033,#20036)
successor(#20024,#20026)
successor(#20026,#20033)
#20037=*
entry_cfg_node(#20037,#20026)
#20038=@"loc,{#10000},1,8,1,7"
locations_default(#20038,#10000,1,8,1,7)
hasLocation(#20037,#20038)
#20039=*
exit_cfg_node(#20039,#20026)
#20040=@"loc,{#10000},1,23,1,22"
locations_default(#20040,#10000,1,23,1,22)
hasLocation(#20039,#20040)
successor(#20031,#20039)
successor(#20037,#20031)
successor(#20028,#20024)
successor(#20034,#20028)
numlines(#10000,1,1,0)
filetype(#10000,"javascript")