Files
codeql/javascript/extractor/tests/es2015/output/trap/import6.js.trap
2026-02-27 14:15:34 +01:00

76 lines
2.0 KiB
Plaintext

#10000=@"/import6.js;sourcefile"
files(#10000,"/import6.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,"import 'foo';","")
#20003=@"loc,{#10000},1,1,1,13"
locations_default(#20003,#10000,1,1,1,13)
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,4,#20001,1,"'foo'")
#20007=@"loc,{#10000},1,8,1,12"
locations_default(#20007,#10000,1,8,1,12)
hasLocation(#20006,#20007)
#20008=*
tokeninfo(#20008,8,#20001,2,";")
#20009=@"loc,{#10000},1,13,1,13"
locations_default(#20009,#10000,1,13,1,13)
hasLocation(#20008,#20009)
#20010=*
tokeninfo(#20010,0,#20001,3,"")
#20011=@"loc,{#10000},1,14,1,13"
locations_default(#20011,#10000,1,14,1,13)
hasLocation(#20010,#20011)
toplevels(#20001,0)
hasLocation(#20001,#20003)
#20012=@"module;{#10000},1,1"
scopes(#20012,3)
scopenodes(#20001,#20012)
scopenesting(#20012,#20000)
is_module(#20001)
is_es2015_module(#20001)
#20013=@"var;{this};{#20012}"
variables(#20013,"this",#20012)
#20014=*
stmts(#20014,27,#20001,0,"import 'foo';")
hasLocation(#20014,#20003)
stmt_containers(#20014,#20001)
#20015=*
exprs(#20015,4,#20014,-1,"'foo'")
hasLocation(#20015,#20007)
enclosing_stmt(#20015,#20014)
expr_containers(#20015,#20001)
literals("foo","'foo'",#20015)
#20016=*
regexpterm(#20016,14,#20015,0,"foo")
#20017=@"loc,{#10000},1,9,1,11"
locations_default(#20017,#10000,1,9,1,11)
hasLocation(#20016,#20017)
regexp_const_value(#20016,"foo")
#20018=*
entry_cfg_node(#20018,#20001)
#20019=@"loc,{#10000},1,1,1,0"
locations_default(#20019,#10000,1,1,1,0)
hasLocation(#20018,#20019)
#20020=*
exit_cfg_node(#20020,#20001)
hasLocation(#20020,#20011)
successor(#20014,#20020)
successor(#20018,#20014)
numlines(#10000,1,1,0)
filetype(#10000,"javascript")