Files
codeql/javascript/extractor/tests/es2015/output/trap/export2.js.trap
2018-11-07 07:48:25 +00:00

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