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

131 lines
3.5 KiB
Plaintext

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