Files
codeql/javascript/extractor/tests/node/output/trap/tst.mjs.trap
2026-02-27 14:15:34 +01:00

88 lines
2.3 KiB
Plaintext

#10000=@"/tst.mjs;sourcefile"
files(#10000,"/tst.mjs")
#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,"var x;","")
#20003=@"loc,{#10000},1,1,1,6"
locations_default(#20003,#10000,1,1,1,6)
hasLocation(#20002,#20003)
numlines(#20001,1,1,0)
#20004=*
tokeninfo(#20004,7,#20001,0,"var")
#20005=@"loc,{#10000},1,1,1,3"
locations_default(#20005,#10000,1,1,1,3)
hasLocation(#20004,#20005)
#20006=*
tokeninfo(#20006,6,#20001,1,"x")
#20007=@"loc,{#10000},1,5,1,5"
locations_default(#20007,#10000,1,5,1,5)
hasLocation(#20006,#20007)
#20008=*
tokeninfo(#20008,8,#20001,2,";")
#20009=@"loc,{#10000},1,6,1,6"
locations_default(#20009,#10000,1,6,1,6)
hasLocation(#20008,#20009)
#20010=*
tokeninfo(#20010,0,#20001,3,"")
#20011=@"loc,{#10000},1,7,1,6"
locations_default(#20011,#10000,1,7,1,6)
hasLocation(#20010,#20011)
toplevels(#20001,0)
hasLocation(#20001,#20003)
#20012=@"var;{global};{#20000}"
variables(#20012,"global",#20000)
#20013=@"var;{process};{#20000}"
variables(#20013,"process",#20000)
#20014=@"var;{console};{#20000}"
variables(#20014,"console",#20000)
#20015=@"var;{Buffer};{#20000}"
variables(#20015,"Buffer",#20000)
#20016=@"module;{#10000},1,1"
scopes(#20016,3)
scopenodes(#20001,#20016)
scopenesting(#20016,#20000)
is_module(#20001)
is_es2015_module(#20001)
#20017=@"var;{x};{#20016}"
variables(#20017,"x",#20016)
#20018=@"var;{this};{#20016}"
variables(#20018,"this",#20016)
#20019=*
stmts(#20019,18,#20001,0,"var x;")
hasLocation(#20019,#20003)
stmt_containers(#20019,#20001)
#20020=*
exprs(#20020,64,#20019,0,"x")
hasLocation(#20020,#20007)
enclosing_stmt(#20020,#20019)
expr_containers(#20020,#20001)
#20021=*
exprs(#20021,78,#20020,0,"x")
hasLocation(#20021,#20007)
enclosing_stmt(#20021,#20019)
expr_containers(#20021,#20001)
literals("x","x",#20021)
decl(#20021,#20017)
#20022=*
entry_cfg_node(#20022,#20001)
#20023=@"loc,{#10000},1,1,1,0"
locations_default(#20023,#10000,1,1,1,0)
hasLocation(#20022,#20023)
#20024=*
exit_cfg_node(#20024,#20001)
hasLocation(#20024,#20011)
successor(#20019,#20021)
successor(#20021,#20020)
successor(#20020,#20024)
successor(#20022,#20019)
numlines(#10000,1,1,0)
filetype(#10000,"javascript")