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

180 lines
4.8 KiB
Plaintext

#10000=@"/bindingpattern.ts;sourcefile"
files(#10000,"/bindingpattern.ts")
#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,"function foo({x, y}) {}","
")
#20003=@"loc,{#10000},1,1,1,23"
locations_default(#20003,#10000,1,1,1,23)
hasLocation(#20002,#20003)
numlines(#20001,1,1,0)
#20004=*
tokeninfo(#20004,7,#20001,0,"function")
#20005=@"loc,{#10000},1,1,1,8"
locations_default(#20005,#10000,1,1,1,8)
hasLocation(#20004,#20005)
#20006=*
tokeninfo(#20006,6,#20001,1,"foo")
#20007=@"loc,{#10000},1,10,1,12"
locations_default(#20007,#10000,1,10,1,12)
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,6,#20001,4,"x")
#20013=@"loc,{#10000},1,15,1,15"
locations_default(#20013,#10000,1,15,1,15)
hasLocation(#20012,#20013)
#20014=*
tokeninfo(#20014,8,#20001,5,",")
#20015=@"loc,{#10000},1,16,1,16"
locations_default(#20015,#10000,1,16,1,16)
hasLocation(#20014,#20015)
#20016=*
tokeninfo(#20016,6,#20001,6,"y")
#20017=@"loc,{#10000},1,18,1,18"
locations_default(#20017,#10000,1,18,1,18)
hasLocation(#20016,#20017)
#20018=*
tokeninfo(#20018,8,#20001,7,"}")
#20019=@"loc,{#10000},1,19,1,19"
locations_default(#20019,#10000,1,19,1,19)
hasLocation(#20018,#20019)
#20020=*
tokeninfo(#20020,8,#20001,8,")")
#20021=@"loc,{#10000},1,20,1,20"
locations_default(#20021,#10000,1,20,1,20)
hasLocation(#20020,#20021)
#20022=*
tokeninfo(#20022,8,#20001,9,"{")
#20023=@"loc,{#10000},1,22,1,22"
locations_default(#20023,#10000,1,22,1,22)
hasLocation(#20022,#20023)
#20024=*
tokeninfo(#20024,8,#20001,10,"}")
#20025=@"loc,{#10000},1,23,1,23"
locations_default(#20025,#10000,1,23,1,23)
hasLocation(#20024,#20025)
#20026=*
tokeninfo(#20026,0,#20001,11,"")
#20027=@"loc,{#10000},2,1,2,0"
locations_default(#20027,#10000,2,1,2,0)
hasLocation(#20026,#20027)
toplevels(#20001,0)
#20028=@"loc,{#10000},1,1,2,0"
locations_default(#20028,#10000,1,1,2,0)
hasLocation(#20001,#20028)
#20029=@"var;{foo};{#20000}"
variables(#20029,"foo",#20000)
#20030=@"var;{this};{#20000}"
variables(#20030,"this",#20000)
#20031=*
stmts(#20031,17,#20001,0,"functio ... y}) {}")
hasLocation(#20031,#20003)
stmt_containers(#20031,#20001)
#20032=*
exprs(#20032,78,#20031,-1,"foo")
hasLocation(#20032,#20007)
expr_containers(#20032,#20031)
literals("foo","foo",#20032)
decl(#20032,#20029)
#20033=*
scopes(#20033,1)
scopenodes(#20031,#20033)
scopenesting(#20033,#20000)
#20034=@"var;{this};{#20033}"
variables(#20034,"this",#20033)
#20035=@"var;{x};{#20033}"
variables(#20035,"x",#20033)
#20036=@"var;{y};{#20033}"
variables(#20036,"y",#20033)
#20037=*
exprs(#20037,68,#20031,0,"{x, y}")
#20038=@"loc,{#10000},1,14,1,19"
locations_default(#20038,#10000,1,14,1,19)
hasLocation(#20037,#20038)
expr_containers(#20037,#20031)
#20039=*
properties(#20039,#20037,0,0,"x")
hasLocation(#20039,#20013)
#20040=*
exprs(#20040,0,#20039,0,"x")
hasLocation(#20040,#20013)
expr_containers(#20040,#20031)
literals("x","x",#20040)
#20041=*
exprs(#20041,78,#20039,1,"x")
hasLocation(#20041,#20013)
expr_containers(#20041,#20031)
literals("x","x",#20041)
decl(#20041,#20035)
#20042=*
properties(#20042,#20037,1,0,"y")
hasLocation(#20042,#20017)
#20043=*
exprs(#20043,0,#20042,0,"y")
hasLocation(#20043,#20017)
expr_containers(#20043,#20031)
literals("y","y",#20043)
#20044=*
exprs(#20044,78,#20042,1,"y")
hasLocation(#20044,#20017)
expr_containers(#20044,#20031)
literals("y","y",#20044)
decl(#20044,#20036)
#20045=@"var;{arguments};{#20033}"
variables(#20045,"arguments",#20033)
is_arguments_object(#20045)
#20046=*
stmts(#20046,1,#20031,-2,"{}")
#20047=@"loc,{#10000},1,22,1,23"
locations_default(#20047,#10000,1,22,1,23)
hasLocation(#20046,#20047)
stmt_containers(#20046,#20031)
#20048=*
entry_cfg_node(#20048,#20001)
#20049=@"loc,{#10000},1,1,1,0"
locations_default(#20049,#10000,1,1,1,0)
hasLocation(#20048,#20049)
#20050=*
exit_cfg_node(#20050,#20001)
hasLocation(#20050,#20027)
successor(#20031,#20050)
#20051=*
entry_cfg_node(#20051,#20031)
hasLocation(#20051,#20049)
#20052=*
exit_cfg_node(#20052,#20031)
#20053=@"loc,{#10000},1,24,1,23"
locations_default(#20053,#10000,1,24,1,23)
hasLocation(#20052,#20053)
successor(#20046,#20052)
successor(#20037,#20040)
successor(#20044,#20042)
successor(#20043,#20044)
successor(#20042,#20046)
successor(#20041,#20039)
successor(#20040,#20041)
successor(#20039,#20043)
successor(#20051,#20037)
successor(#20032,#20031)
successor(#20048,#20032)
numlines(#10000,1,1,0)
filetype(#10000,"typescript")