Files
codeql/javascript/extractor/tests/extensions/output/trap/tst.es6.trap
2021-09-14 10:25:42 +02:00

131 lines
3.6 KiB
Plaintext

#10000=@"/tst.es6;sourcefile"
files(#10000,"/tst.es6")
#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,"console.log(""Hello ES6"");","
")
#20003=@"loc,{#10000},1,1,1,25"
locations_default(#20003,#10000,1,1,1,25)
hasLocation(#20002,#20003)
numlines(#20001,1,1,0)
#20004=*
tokeninfo(#20004,6,#20001,0,"console")
#20005=@"loc,{#10000},1,1,1,7"
locations_default(#20005,#10000,1,1,1,7)
hasLocation(#20004,#20005)
#20006=*
tokeninfo(#20006,8,#20001,1,".")
#20007=@"loc,{#10000},1,8,1,8"
locations_default(#20007,#10000,1,8,1,8)
hasLocation(#20006,#20007)
#20008=*
tokeninfo(#20008,6,#20001,2,"log")
#20009=@"loc,{#10000},1,9,1,11"
locations_default(#20009,#10000,1,9,1,11)
hasLocation(#20008,#20009)
#20010=*
tokeninfo(#20010,8,#20001,3,"(")
#20011=@"loc,{#10000},1,12,1,12"
locations_default(#20011,#10000,1,12,1,12)
hasLocation(#20010,#20011)
#20012=*
tokeninfo(#20012,4,#20001,4,"""Hello ES6""")
#20013=@"loc,{#10000},1,13,1,23"
locations_default(#20013,#10000,1,13,1,23)
hasLocation(#20012,#20013)
#20014=*
tokeninfo(#20014,8,#20001,5,")")
#20015=@"loc,{#10000},1,24,1,24"
locations_default(#20015,#10000,1,24,1,24)
hasLocation(#20014,#20015)
#20016=*
tokeninfo(#20016,8,#20001,6,";")
#20017=@"loc,{#10000},1,25,1,25"
locations_default(#20017,#10000,1,25,1,25)
hasLocation(#20016,#20017)
#20018=*
tokeninfo(#20018,0,#20001,7,"")
#20019=@"loc,{#10000},2,1,2,0"
locations_default(#20019,#10000,2,1,2,0)
hasLocation(#20018,#20019)
toplevels(#20001,0)
#20020=@"loc,{#10000},1,1,2,0"
locations_default(#20020,#10000,1,1,2,0)
hasLocation(#20001,#20020)
#20021=@"module;{#10000},1,1"
scopes(#20021,3)
scopenodes(#20001,#20021)
scopenesting(#20021,#20000)
is_module(#20001)
is_es2015_module(#20001)
#20022=*
stmts(#20022,2,#20001,0,"console ... ES6"");")
hasLocation(#20022,#20003)
stmt_containers(#20022,#20001)
#20023=*
exprs(#20023,13,#20022,0,"console ... o ES6"")")
#20024=@"loc,{#10000},1,1,1,24"
locations_default(#20024,#10000,1,1,1,24)
hasLocation(#20023,#20024)
enclosing_stmt(#20023,#20022)
expr_containers(#20023,#20001)
#20025=*
exprs(#20025,14,#20023,-1,"console.log")
#20026=@"loc,{#10000},1,1,1,11"
locations_default(#20026,#10000,1,1,1,11)
hasLocation(#20025,#20026)
enclosing_stmt(#20025,#20022)
expr_containers(#20025,#20001)
#20027=*
exprs(#20027,79,#20025,0,"console")
hasLocation(#20027,#20005)
enclosing_stmt(#20027,#20022)
expr_containers(#20027,#20001)
literals("console","console",#20027)
#20028=@"var;{console};{#20000}"
variables(#20028,"console",#20000)
bind(#20027,#20028)
#20029=*
exprs(#20029,0,#20025,1,"log")
hasLocation(#20029,#20009)
enclosing_stmt(#20029,#20022)
expr_containers(#20029,#20001)
literals("log","log",#20029)
#20030=*
exprs(#20030,4,#20023,0,"""Hello ES6""")
hasLocation(#20030,#20013)
enclosing_stmt(#20030,#20022)
expr_containers(#20030,#20001)
literals("Hello ES6","""Hello ES6""",#20030)
#20031=*
regexpterm(#20031,14,#20030,0,"Hello ES6")
#20032=@"loc,{#10000},1,14,1,22"
locations_default(#20032,#10000,1,14,1,22)
hasLocation(#20031,#20032)
regexp_const_value(#20031,"Hello ES6")
#20033=*
entry_cfg_node(#20033,#20001)
#20034=@"loc,{#10000},1,1,1,0"
locations_default(#20034,#10000,1,1,1,0)
hasLocation(#20033,#20034)
#20035=*
exit_cfg_node(#20035,#20001)
hasLocation(#20035,#20019)
successor(#20022,#20027)
successor(#20030,#20023)
successor(#20029,#20025)
successor(#20027,#20029)
successor(#20025,#20030)
successor(#20023,#20035)
successor(#20033,#20022)
numlines(#10000,1,1,0)
filetype(#10000,"javascript")