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

123 lines
3.3 KiB
Plaintext

#10000=@"/classdecl.js;sourcefile"
files(#10000,"/classdecl.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,"class Point {}","")
#20003=@"loc,{#10000},1,1,1,14"
locations_default(#20003,#10000,1,1,1,14)
hasLocation(#20002,#20003)
numlines(#20001,1,1,0)
#20004=*
tokeninfo(#20004,7,#20001,0,"class")
#20005=@"loc,{#10000},1,1,1,5"
locations_default(#20005,#10000,1,1,1,5)
hasLocation(#20004,#20005)
#20006=*
tokeninfo(#20006,6,#20001,1,"Point")
#20007=@"loc,{#10000},1,7,1,11"
locations_default(#20007,#10000,1,7,1,11)
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,8,#20001,3,"}")
#20011=@"loc,{#10000},1,14,1,14"
locations_default(#20011,#10000,1,14,1,14)
hasLocation(#20010,#20011)
#20012=*
tokeninfo(#20012,0,#20001,4,"")
#20013=@"loc,{#10000},1,15,1,14"
locations_default(#20013,#10000,1,15,1,14)
hasLocation(#20012,#20013)
toplevels(#20001,0)
hasLocation(#20001,#20003)
#20014=@"var;{Point};{#20000}"
variables(#20014,"Point",#20000)
#20015=@"local_type_name;{Point};{#20000}"
local_type_names(#20015,"Point",#20000)
#20016=@"var;{this};{#20000}"
variables(#20016,"this",#20000)
#20017=*
stmts(#20017,26,#20001,0,"class Point {}")
hasLocation(#20017,#20003)
stmt_containers(#20017,#20001)
#20018=*
exprs(#20018,78,#20017,0,"Point")
hasLocation(#20018,#20007)
enclosing_stmt(#20018,#20017)
expr_containers(#20018,#20001)
literals("Point","Point",#20018)
decl(#20018,#20014)
typedecl(#20018,#20015)
#20019=*
scopes(#20019,10)
scopenodes(#20017,#20019)
scopenesting(#20019,#20000)
#20020=@"var;{this};{#20019}"
variables(#20020,"this",#20019)
#20021=*
properties(#20021,#20017,2,0,"constructor() {}")
#20022=@"loc,{#10000},1,13,1,12"
locations_default(#20022,#10000,1,13,1,12)
hasLocation(#20021,#20022)
#20023=*
exprs(#20023,0,#20021,0,"constructor")
hasLocation(#20023,#20022)
enclosing_stmt(#20023,#20017)
expr_containers(#20023,#20001)
literals("constructor","constructor",#20023)
#20024=*
exprs(#20024,9,#20021,1,"() {}")
hasLocation(#20024,#20022)
enclosing_stmt(#20024,#20017)
expr_containers(#20024,#20001)
#20025=*
scopes(#20025,1)
scopenodes(#20024,#20025)
scopenesting(#20025,#20019)
#20026=@"var;{this};{#20025}"
variables(#20026,"this",#20025)
#20027=@"var;{arguments};{#20025}"
variables(#20027,"arguments",#20025)
is_arguments_object(#20027)
#20028=*
stmts(#20028,1,#20024,-2,"{}")
hasLocation(#20028,#20022)
stmt_containers(#20028,#20024)
is_method(#20021)
#20029=*
entry_cfg_node(#20029,#20001)
#20030=@"loc,{#10000},1,1,1,0"
locations_default(#20030,#10000,1,1,1,0)
hasLocation(#20029,#20030)
#20031=*
exit_cfg_node(#20031,#20001)
hasLocation(#20031,#20013)
successor(#20024,#20021)
#20032=*
entry_cfg_node(#20032,#20024)
hasLocation(#20032,#20022)
#20033=*
exit_cfg_node(#20033,#20024)
hasLocation(#20033,#20022)
successor(#20028,#20033)
successor(#20032,#20028)
successor(#20023,#20024)
successor(#20021,#20017)
successor(#20018,#20023)
successor(#20017,#20031)
successor(#20029,#20018)
numlines(#10000,1,1,0)
filetype(#10000,"javascript")