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

108 lines
2.9 KiB
Plaintext

#10000=@"/export1.js;sourcefile"
files(#10000,"/export1.js","export1","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,18"
locations_default(#20002,#10000,1,1,1,18)
hasLocation(#20001,#20002)
#20003=@"module;{#10000},1,1"
scopes(#20003,3)
scopenodes(#20001,#20003)
scopenesting(#20003,#20000)
isModule(#20001)
#20004=@"var;{x};{#20003}"
variables(#20004,"x",#20003)
#20005=*
stmts(#20005,30,#20001,0,"export var x = 23;")
hasLocation(#20005,#20002)
stmtContainers(#20005,#20001)
#20006=*
stmts(#20006,18,#20005,-1,"var x = 23;")
#20007=@"loc,{#10000},1,8,1,18"
locations_default(#20007,#10000,1,8,1,18)
hasLocation(#20006,#20007)
stmtContainers(#20006,#20001)
#20008=*
exprs(#20008,64,#20006,0,"x = 23")
#20009=@"loc,{#10000},1,12,1,17"
locations_default(#20009,#10000,1,12,1,17)
hasLocation(#20008,#20009)
enclosingStmt(#20008,#20006)
exprContainers(#20008,#20001)
#20010=*
exprs(#20010,78,#20008,0,"x")
#20011=@"loc,{#10000},1,12,1,12"
locations_default(#20011,#10000,1,12,1,12)
hasLocation(#20010,#20011)
enclosingStmt(#20010,#20006)
exprContainers(#20010,#20001)
literals("x","x",#20010)
decl(#20010,#20004)
#20012=*
exprs(#20012,3,#20008,1,"23")
#20013=@"loc,{#10000},1,16,1,17"
locations_default(#20013,#10000,1,16,1,17)
hasLocation(#20012,#20013)
enclosingStmt(#20012,#20006)
exprContainers(#20012,#20001)
literals("23","23",#20012)
#20014=*
lines(#20014,#20001,"export var x = 23;","")
hasLocation(#20014,#20002)
numlines(#20001,1,1,0)
#20015=*
tokeninfo(#20015,7,#20001,0,"export")
#20016=@"loc,{#10000},1,1,1,6"
locations_default(#20016,#10000,1,1,1,6)
hasLocation(#20015,#20016)
#20017=*
tokeninfo(#20017,7,#20001,1,"var")
#20018=@"loc,{#10000},1,8,1,10"
locations_default(#20018,#10000,1,8,1,10)
hasLocation(#20017,#20018)
#20019=*
tokeninfo(#20019,6,#20001,2,"x")
hasLocation(#20019,#20011)
#20020=*
tokeninfo(#20020,8,#20001,3,"=")
#20021=@"loc,{#10000},1,14,1,14"
locations_default(#20021,#10000,1,14,1,14)
hasLocation(#20020,#20021)
#20022=*
tokeninfo(#20022,3,#20001,4,"23")
hasLocation(#20022,#20013)
#20023=*
tokeninfo(#20023,8,#20001,5,";")
#20024=@"loc,{#10000},1,18,1,18"
locations_default(#20024,#10000,1,18,1,18)
hasLocation(#20023,#20024)
#20025=*
tokeninfo(#20025,0,#20001,6,"")
#20026=@"loc,{#10000},1,19,1,18"
locations_default(#20026,#10000,1,19,1,18)
hasLocation(#20025,#20026)
#20027=*
entry_cfg_node(#20027,#20001)
#20028=@"loc,{#10000},1,1,1,0"
locations_default(#20028,#10000,1,1,1,0)
hasLocation(#20027,#20028)
#20029=*
exit_cfg_node(#20029,#20001)
hasLocation(#20029,#20026)
successor(#20005,#20006)
successor(#20006,#20010)
successor(#20012,#20008)
successor(#20010,#20012)
successor(#20008,#20029)
successor(#20027,#20005)
numlines(#10000,1,1,0)
filetype(#10000,"javascript")