Files
codeql/javascript/extractor/tests/ts/output/trap/bindingpattern.ts.trap
2018-11-07 07:48:25 +00:00

177 lines
4.7 KiB
Plaintext

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