Files
codeql/javascript/extractor/tests/es2015/output/trap/import1.js.trap
2019-02-07 11:58:38 +00:00

102 lines
2.8 KiB
Plaintext

#10000=@"/import1.js;sourcefile"
files(#10000,"/import1.js","import1","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,"import x from 'foo';","")
#20003=@"loc,{#10000},1,1,1,20"
locations_default(#20003,#10000,1,1,1,20)
hasLocation(#20002,#20003)
numlines(#20001,1,1,0)
#20004=*
tokeninfo(#20004,7,#20001,0,"import")
#20005=@"loc,{#10000},1,1,1,6"
locations_default(#20005,#10000,1,1,1,6)
hasLocation(#20004,#20005)
#20006=*
tokeninfo(#20006,6,#20001,1,"x")
#20007=@"loc,{#10000},1,8,1,8"
locations_default(#20007,#10000,1,8,1,8)
hasLocation(#20006,#20007)
#20008=*
tokeninfo(#20008,6,#20001,2,"from")
#20009=@"loc,{#10000},1,10,1,13"
locations_default(#20009,#10000,1,10,1,13)
hasLocation(#20008,#20009)
#20010=*
tokeninfo(#20010,4,#20001,3,"'foo'")
#20011=@"loc,{#10000},1,15,1,19"
locations_default(#20011,#10000,1,15,1,19)
hasLocation(#20010,#20011)
#20012=*
tokeninfo(#20012,8,#20001,4,";")
#20013=@"loc,{#10000},1,20,1,20"
locations_default(#20013,#10000,1,20,1,20)
hasLocation(#20012,#20013)
#20014=*
tokeninfo(#20014,0,#20001,5,"")
#20015=@"loc,{#10000},1,21,1,20"
locations_default(#20015,#10000,1,21,1,20)
hasLocation(#20014,#20015)
toplevels(#20001,0)
hasLocation(#20001,#20003)
#20016=@"module;{#10000},1,1"
scopes(#20016,3)
scopenodes(#20001,#20016)
scopenesting(#20016,#20000)
isModule(#20001)
isES2015Module(#20001)
#20017=@"var;{x};{#20016}"
variables(#20017,"x",#20016)
#20018=@"local_type_name;{x};{#20016}"
local_type_names(#20018,"x",#20016)
#20019=@"local_namespace_name;{x};{#20016}"
local_namespace_names(#20019,"x",#20016)
variables(#20017,"x",#20016)
local_type_names(#20018,"x",#20016)
local_namespace_names(#20019,"x",#20016)
#20020=*
stmts(#20020,27,#20001,0,"import x from 'foo';")
hasLocation(#20020,#20003)
stmtContainers(#20020,#20001)
#20021=*
exprs(#20021,4,#20020,-1,"'foo'")
hasLocation(#20021,#20011)
enclosingStmt(#20021,#20020)
exprContainers(#20021,#20001)
literals("foo","'foo'",#20021)
#20022=*
exprs(#20022,84,#20020,0,"x")
hasLocation(#20022,#20007)
enclosingStmt(#20022,#20020)
exprContainers(#20022,#20001)
#20023=*
exprs(#20023,78,#20022,1,"x")
hasLocation(#20023,#20007)
enclosingStmt(#20023,#20020)
exprContainers(#20023,#20001)
literals("x","x",#20023)
decl(#20023,#20017)
typedecl(#20023,#20018)
namespacedecl(#20023,#20019)
#20024=*
entry_cfg_node(#20024,#20001)
#20025=@"loc,{#10000},1,1,1,0"
locations_default(#20025,#10000,1,1,1,0)
hasLocation(#20024,#20025)
#20026=*
exit_cfg_node(#20026,#20001)
hasLocation(#20026,#20015)
successor(#20020,#20026)
successor(#20022,#20020)
successor(#20024,#20022)
numlines(#10000,1,1,0)
filetype(#10000,"javascript")