Files
codeql/javascript/extractor/tests/mozilla/output/trap/new-with-trailing-arg.js.trap
2026-02-27 14:15:34 +01:00

232 lines
6.3 KiB
Plaintext

#10000=@"/new-with-trailing-arg.js;sourcefile"
files(#10000,"/new-with-trailing-arg.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=*
comments(#20002,0,#20001," `new` with initializer","// `new ... ializer")
#20003=@"loc,{#10000},1,1,1,25"
locations_default(#20003,#10000,1,1,1,25)
hasLocation(#20002,#20003)
#20004=*
comments(#20004,0,#20001," `new` followed by an empty block","// `new ... y block")
#20005=@"loc,{#10000},4,1,4,35"
locations_default(#20005,#10000,4,1,4,35)
hasLocation(#20004,#20005)
#20006=*
lines(#20006,#20001,"// `new` with initializer","
")
hasLocation(#20006,#20003)
#20007=*
lines(#20007,#20001,"new A() { foo: ""bar"" }","
")
#20008=@"loc,{#10000},2,1,2,22"
locations_default(#20008,#10000,2,1,2,22)
hasLocation(#20007,#20008)
#20009=*
lines(#20009,#20001,"","
")
#20010=@"loc,{#10000},3,1,3,0"
locations_default(#20010,#10000,3,1,3,0)
hasLocation(#20009,#20010)
#20011=*
lines(#20011,#20001,"// `new` followed by an empty block","
")
hasLocation(#20011,#20005)
#20012=*
lines(#20012,#20001,"new A()","
")
#20013=@"loc,{#10000},5,1,5,7"
locations_default(#20013,#10000,5,1,5,7)
hasLocation(#20012,#20013)
#20014=*
lines(#20014,#20001,"{}","")
#20015=@"loc,{#10000},6,1,6,2"
locations_default(#20015,#10000,6,1,6,2)
hasLocation(#20014,#20015)
numlines(#20001,6,3,2)
#20016=*
tokeninfo(#20016,7,#20001,0,"new")
#20017=@"loc,{#10000},2,1,2,3"
locations_default(#20017,#10000,2,1,2,3)
hasLocation(#20016,#20017)
next_token(#20002,#20016)
#20018=*
tokeninfo(#20018,6,#20001,1,"A")
#20019=@"loc,{#10000},2,5,2,5"
locations_default(#20019,#10000,2,5,2,5)
hasLocation(#20018,#20019)
#20020=*
tokeninfo(#20020,8,#20001,2,"(")
#20021=@"loc,{#10000},2,6,2,6"
locations_default(#20021,#10000,2,6,2,6)
hasLocation(#20020,#20021)
#20022=*
tokeninfo(#20022,8,#20001,3,")")
#20023=@"loc,{#10000},2,7,2,7"
locations_default(#20023,#10000,2,7,2,7)
hasLocation(#20022,#20023)
#20024=*
tokeninfo(#20024,8,#20001,4,"{")
#20025=@"loc,{#10000},2,9,2,9"
locations_default(#20025,#10000,2,9,2,9)
hasLocation(#20024,#20025)
#20026=*
tokeninfo(#20026,6,#20001,5,"foo")
#20027=@"loc,{#10000},2,11,2,13"
locations_default(#20027,#10000,2,11,2,13)
hasLocation(#20026,#20027)
#20028=*
tokeninfo(#20028,8,#20001,6,":")
#20029=@"loc,{#10000},2,14,2,14"
locations_default(#20029,#10000,2,14,2,14)
hasLocation(#20028,#20029)
#20030=*
tokeninfo(#20030,4,#20001,7,"""bar""")
#20031=@"loc,{#10000},2,16,2,20"
locations_default(#20031,#10000,2,16,2,20)
hasLocation(#20030,#20031)
#20032=*
tokeninfo(#20032,8,#20001,8,"}")
#20033=@"loc,{#10000},2,22,2,22"
locations_default(#20033,#10000,2,22,2,22)
hasLocation(#20032,#20033)
#20034=*
tokeninfo(#20034,7,#20001,9,"new")
#20035=@"loc,{#10000},5,1,5,3"
locations_default(#20035,#10000,5,1,5,3)
hasLocation(#20034,#20035)
next_token(#20004,#20034)
#20036=*
tokeninfo(#20036,6,#20001,10,"A")
#20037=@"loc,{#10000},5,5,5,5"
locations_default(#20037,#10000,5,5,5,5)
hasLocation(#20036,#20037)
#20038=*
tokeninfo(#20038,8,#20001,11,"(")
#20039=@"loc,{#10000},5,6,5,6"
locations_default(#20039,#10000,5,6,5,6)
hasLocation(#20038,#20039)
#20040=*
tokeninfo(#20040,8,#20001,12,")")
#20041=@"loc,{#10000},5,7,5,7"
locations_default(#20041,#10000,5,7,5,7)
hasLocation(#20040,#20041)
#20042=*
tokeninfo(#20042,8,#20001,13,"{")
#20043=@"loc,{#10000},6,1,6,1"
locations_default(#20043,#10000,6,1,6,1)
hasLocation(#20042,#20043)
#20044=*
tokeninfo(#20044,8,#20001,14,"}")
#20045=@"loc,{#10000},6,2,6,2"
locations_default(#20045,#10000,6,2,6,2)
hasLocation(#20044,#20045)
#20046=*
tokeninfo(#20046,0,#20001,15,"")
#20047=@"loc,{#10000},6,3,6,2"
locations_default(#20047,#10000,6,3,6,2)
hasLocation(#20046,#20047)
toplevels(#20001,0)
#20048=@"loc,{#10000},1,1,6,2"
locations_default(#20048,#10000,1,1,6,2)
hasLocation(#20001,#20048)
#20049=@"var;{this};{#20000}"
variables(#20049,"this",#20000)
#20050=*
stmts(#20050,2,#20001,0,"new A() ... ""bar"" }")
hasLocation(#20050,#20008)
stmt_containers(#20050,#20001)
#20051=*
exprs(#20051,12,#20050,0,"new A() ... ""bar"" }")
hasLocation(#20051,#20008)
enclosing_stmt(#20051,#20050)
expr_containers(#20051,#20001)
#20052=*
exprs(#20052,79,#20051,-1,"A")
hasLocation(#20052,#20019)
enclosing_stmt(#20052,#20050)
expr_containers(#20052,#20001)
literals("A","A",#20052)
#20053=@"var;{A};{#20000}"
variables(#20053,"A",#20000)
bind(#20052,#20053)
#20054=*
exprs(#20054,8,#20051,0,"{ foo: ""bar"" }")
#20055=@"loc,{#10000},2,9,2,22"
locations_default(#20055,#10000,2,9,2,22)
hasLocation(#20054,#20055)
enclosing_stmt(#20054,#20050)
expr_containers(#20054,#20001)
#20056=*
properties(#20056,#20054,0,0,"foo: ""bar""")
#20057=@"loc,{#10000},2,11,2,20"
locations_default(#20057,#10000,2,11,2,20)
hasLocation(#20056,#20057)
#20058=*
exprs(#20058,0,#20056,0,"foo")
hasLocation(#20058,#20027)
enclosing_stmt(#20058,#20050)
expr_containers(#20058,#20001)
literals("foo","foo",#20058)
#20059=*
exprs(#20059,4,#20056,1,"""bar""")
hasLocation(#20059,#20031)
enclosing_stmt(#20059,#20050)
expr_containers(#20059,#20001)
literals("bar","""bar""",#20059)
#20060=*
regexpterm(#20060,14,#20059,0,"bar")
#20061=@"loc,{#10000},2,17,2,19"
locations_default(#20061,#10000,2,17,2,19)
hasLocation(#20060,#20061)
regexp_const_value(#20060,"bar")
#20062=*
stmts(#20062,2,#20001,1,"new A()")
hasLocation(#20062,#20013)
stmt_containers(#20062,#20001)
#20063=*
exprs(#20063,12,#20062,0,"new A()")
hasLocation(#20063,#20013)
enclosing_stmt(#20063,#20062)
expr_containers(#20063,#20001)
#20064=*
exprs(#20064,79,#20063,-1,"A")
hasLocation(#20064,#20037)
enclosing_stmt(#20064,#20062)
expr_containers(#20064,#20001)
literals("A","A",#20064)
bind(#20064,#20053)
#20065=*
stmts(#20065,1,#20001,2,"{}")
hasLocation(#20065,#20015)
stmt_containers(#20065,#20001)
#20066=*
entry_cfg_node(#20066,#20001)
#20067=@"loc,{#10000},1,1,1,0"
locations_default(#20067,#10000,1,1,1,0)
hasLocation(#20066,#20067)
#20068=*
exit_cfg_node(#20068,#20001)
hasLocation(#20068,#20047)
successor(#20065,#20068)
successor(#20062,#20064)
successor(#20064,#20063)
successor(#20063,#20065)
successor(#20050,#20052)
successor(#20054,#20058)
successor(#20059,#20056)
successor(#20058,#20059)
successor(#20056,#20051)
successor(#20052,#20054)
successor(#20051,#20062)
successor(#20066,#20050)
numlines(#10000,6,3,2)
filetype(#10000,"javascript")