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

149 lines
4.0 KiB
Plaintext

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