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

265 lines
7.1 KiB
Plaintext

#10000=@"/class_static.js;sourcefile"
files(#10000,"/class_static.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,9"
locations_default(#20003,#10000,1,1,1,9)
hasLocation(#20002,#20003)
#20004=*
lines(#20004,#20001," static className() {","
")
#20005=@"loc,{#10000},2,1,2,22"
locations_default(#20005,#10000,2,1,2,22)
hasLocation(#20004,#20005)
indentation(#10000,2," ",2)
#20006=*
lines(#20006,#20001," return ""A"";","
")
#20007=@"loc,{#10000},3,1,3,15"
locations_default(#20007,#10000,3,1,3,15)
hasLocation(#20006,#20007)
indentation(#10000,3," ",4)
#20008=*
lines(#20008,#20001," }","
")
#20009=@"loc,{#10000},4,1,4,3"
locations_default(#20009,#10000,4,1,4,3)
hasLocation(#20008,#20009)
indentation(#10000,4," ",2)
#20010=*
lines(#20010,#20001,"}","")
#20011=@"loc,{#10000},5,1,5,1"
locations_default(#20011,#10000,5,1,5,1)
hasLocation(#20010,#20011)
numlines(#20001,5,5,0)
#20012=*
tokeninfo(#20012,7,#20001,0,"class")
#20013=@"loc,{#10000},1,1,1,5"
locations_default(#20013,#10000,1,1,1,5)
hasLocation(#20012,#20013)
#20014=*
tokeninfo(#20014,6,#20001,1,"A")
#20015=@"loc,{#10000},1,7,1,7"
locations_default(#20015,#10000,1,7,1,7)
hasLocation(#20014,#20015)
#20016=*
tokeninfo(#20016,8,#20001,2,"{")
#20017=@"loc,{#10000},1,9,1,9"
locations_default(#20017,#10000,1,9,1,9)
hasLocation(#20016,#20017)
#20018=*
tokeninfo(#20018,6,#20001,3,"static")
#20019=@"loc,{#10000},2,3,2,8"
locations_default(#20019,#10000,2,3,2,8)
hasLocation(#20018,#20019)
#20020=*
tokeninfo(#20020,6,#20001,4,"className")
#20021=@"loc,{#10000},2,10,2,18"
locations_default(#20021,#10000,2,10,2,18)
hasLocation(#20020,#20021)
#20022=*
tokeninfo(#20022,8,#20001,5,"(")
#20023=@"loc,{#10000},2,19,2,19"
locations_default(#20023,#10000,2,19,2,19)
hasLocation(#20022,#20023)
#20024=*
tokeninfo(#20024,8,#20001,6,")")
#20025=@"loc,{#10000},2,20,2,20"
locations_default(#20025,#10000,2,20,2,20)
hasLocation(#20024,#20025)
#20026=*
tokeninfo(#20026,8,#20001,7,"{")
#20027=@"loc,{#10000},2,22,2,22"
locations_default(#20027,#10000,2,22,2,22)
hasLocation(#20026,#20027)
#20028=*
tokeninfo(#20028,7,#20001,8,"return")
#20029=@"loc,{#10000},3,5,3,10"
locations_default(#20029,#10000,3,5,3,10)
hasLocation(#20028,#20029)
#20030=*
tokeninfo(#20030,4,#20001,9,"""A""")
#20031=@"loc,{#10000},3,12,3,14"
locations_default(#20031,#10000,3,12,3,14)
hasLocation(#20030,#20031)
#20032=*
tokeninfo(#20032,8,#20001,10,";")
#20033=@"loc,{#10000},3,15,3,15"
locations_default(#20033,#10000,3,15,3,15)
hasLocation(#20032,#20033)
#20034=*
tokeninfo(#20034,8,#20001,11,"}")
#20035=@"loc,{#10000},4,3,4,3"
locations_default(#20035,#10000,4,3,4,3)
hasLocation(#20034,#20035)
#20036=*
tokeninfo(#20036,8,#20001,12,"}")
hasLocation(#20036,#20011)
#20037=*
tokeninfo(#20037,0,#20001,13,"")
#20038=@"loc,{#10000},5,2,5,1"
locations_default(#20038,#10000,5,2,5,1)
hasLocation(#20037,#20038)
toplevels(#20001,0)
#20039=@"loc,{#10000},1,1,5,1"
locations_default(#20039,#10000,1,1,5,1)
hasLocation(#20001,#20039)
#20040=@"var;{A};{#20000}"
variables(#20040,"A",#20000)
#20041=@"local_type_name;{A};{#20000}"
local_type_names(#20041,"A",#20000)
#20042=@"var;{this};{#20000}"
variables(#20042,"this",#20000)
#20043=*
stmts(#20043,26,#20001,0,"class A ... ;\n }\n}")
hasLocation(#20043,#20039)
stmt_containers(#20043,#20001)
#20044=*
exprs(#20044,78,#20043,0,"A")
hasLocation(#20044,#20015)
enclosing_stmt(#20044,#20043)
expr_containers(#20044,#20001)
literals("A","A",#20044)
decl(#20044,#20040)
typedecl(#20044,#20041)
#20045=*
scopes(#20045,10)
scopenodes(#20043,#20045)
scopenesting(#20045,#20000)
#20046=@"var;{this};{#20045}"
variables(#20046,"this",#20045)
#20047=*
properties(#20047,#20043,2,0,"static ... A"";\n }")
#20048=@"loc,{#10000},2,3,4,3"
locations_default(#20048,#10000,2,3,4,3)
hasLocation(#20047,#20048)
#20049=*
exprs(#20049,0,#20047,0,"className")
hasLocation(#20049,#20021)
enclosing_stmt(#20049,#20043)
expr_containers(#20049,#20001)
literals("className","className",#20049)
#20050=*
exprs(#20050,9,#20047,1,"() {\n ... A"";\n }")
#20051=@"loc,{#10000},2,19,4,3"
locations_default(#20051,#10000,2,19,4,3)
hasLocation(#20050,#20051)
enclosing_stmt(#20050,#20043)
expr_containers(#20050,#20001)
#20052=*
scopes(#20052,1)
scopenodes(#20050,#20052)
scopenesting(#20052,#20045)
#20053=@"var;{this};{#20052}"
variables(#20053,"this",#20052)
#20054=@"var;{arguments};{#20052}"
variables(#20054,"arguments",#20052)
is_arguments_object(#20054)
#20055=*
stmts(#20055,1,#20050,-2,"{\n r ... A"";\n }")
#20056=@"loc,{#10000},2,22,4,3"
locations_default(#20056,#10000,2,22,4,3)
hasLocation(#20055,#20056)
stmt_containers(#20055,#20050)
#20057=*
stmts(#20057,9,#20055,0,"return ""A"";")
#20058=@"loc,{#10000},3,5,3,15"
locations_default(#20058,#10000,3,5,3,15)
hasLocation(#20057,#20058)
stmt_containers(#20057,#20050)
#20059=*
exprs(#20059,4,#20057,0,"""A""")
hasLocation(#20059,#20031)
enclosing_stmt(#20059,#20057)
expr_containers(#20059,#20050)
literals("A","""A""",#20059)
#20060=*
regexpterm(#20060,14,#20059,0,"A")
#20061=@"loc,{#10000},3,13,3,13"
locations_default(#20061,#10000,3,13,3,13)
hasLocation(#20060,#20061)
regexp_const_value(#20060,"A")
is_method(#20047)
is_static(#20047)
#20062=*
properties(#20062,#20043,3,0,"constructor() {}")
#20063=@"loc,{#10000},1,9,1,8"
locations_default(#20063,#10000,1,9,1,8)
hasLocation(#20062,#20063)
#20064=*
exprs(#20064,0,#20062,0,"constructor")
hasLocation(#20064,#20063)
enclosing_stmt(#20064,#20043)
expr_containers(#20064,#20001)
literals("constructor","constructor",#20064)
#20065=*
exprs(#20065,9,#20062,1,"() {}")
hasLocation(#20065,#20063)
enclosing_stmt(#20065,#20043)
expr_containers(#20065,#20001)
#20066=*
scopes(#20066,1)
scopenodes(#20065,#20066)
scopenesting(#20066,#20045)
#20067=@"var;{this};{#20066}"
variables(#20067,"this",#20066)
#20068=@"var;{arguments};{#20066}"
variables(#20068,"arguments",#20066)
is_arguments_object(#20068)
#20069=*
stmts(#20069,1,#20065,-2,"{}")
hasLocation(#20069,#20063)
stmt_containers(#20069,#20065)
is_method(#20062)
#20070=*
entry_cfg_node(#20070,#20001)
#20071=@"loc,{#10000},1,1,1,0"
locations_default(#20071,#10000,1,1,1,0)
hasLocation(#20070,#20071)
#20072=*
exit_cfg_node(#20072,#20001)
hasLocation(#20072,#20038)
successor(#20065,#20062)
#20073=*
entry_cfg_node(#20073,#20065)
hasLocation(#20073,#20063)
#20074=*
exit_cfg_node(#20074,#20065)
hasLocation(#20074,#20063)
successor(#20069,#20074)
successor(#20073,#20069)
successor(#20064,#20065)
successor(#20062,#20043)
successor(#20050,#20047)
#20075=*
entry_cfg_node(#20075,#20050)
#20076=@"loc,{#10000},2,19,2,18"
locations_default(#20076,#10000,2,19,2,18)
hasLocation(#20075,#20076)
#20077=*
exit_cfg_node(#20077,#20050)
#20078=@"loc,{#10000},4,4,4,3"
locations_default(#20078,#10000,4,4,4,3)
hasLocation(#20077,#20078)
successor(#20059,#20057)
successor(#20057,#20077)
successor(#20055,#20059)
successor(#20075,#20055)
successor(#20049,#20050)
successor(#20047,#20064)
successor(#20044,#20049)
successor(#20043,#20072)
successor(#20070,#20044)
numlines(#10000,5,5,0)
filetype(#10000,"javascript")