Files
codeql/javascript/extractor/tests/es2015/output/trap/delegating_yield.js.trap
2018-11-07 07:48:25 +00:00

185 lines
5.0 KiB
Plaintext

#10000=@"/delegating_yield.js;sourcefile"
files(#10000,"/delegating_yield.js","delegating_yield","js",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,3,1"
locations_default(#20002,#10000,1,1,3,1)
hasLocation(#20001,#20002)
#20003=@"var;{f};{#20000}"
variables(#20003,"f",#20000)
#20004=*
stmts(#20004,17,#20001,0,"functio ... g();\n}")
hasLocation(#20004,#20002)
stmtContainers(#20004,#20001)
#20005=*
exprs(#20005,78,#20004,-1,"f")
#20006=@"loc,{#10000},1,11,1,11"
locations_default(#20006,#10000,1,11,1,11)
hasLocation(#20005,#20006)
exprContainers(#20005,#20004)
literals("f","f",#20005)
decl(#20005,#20003)
#20007=*
scopes(#20007,1)
scopenodes(#20004,#20007)
scopenesting(#20007,#20000)
#20008=@"var;{arguments};{#20007}"
variables(#20008,"arguments",#20007)
isArgumentsObject(#20008)
isGenerator(#20004)
#20009=*
stmts(#20009,1,#20004,-2,"{\n yield* g();\n}")
#20010=@"loc,{#10000},1,15,3,1"
locations_default(#20010,#10000,1,15,3,1)
hasLocation(#20009,#20010)
stmtContainers(#20009,#20004)
#20011=*
stmts(#20011,2,#20009,0,"yield* g();")
#20012=@"loc,{#10000},2,5,2,15"
locations_default(#20012,#10000,2,5,2,15)
hasLocation(#20011,#20012)
stmtContainers(#20011,#20004)
#20013=*
exprs(#20013,69,#20011,0,"yield* g()")
#20014=@"loc,{#10000},2,5,2,14"
locations_default(#20014,#10000,2,5,2,14)
hasLocation(#20013,#20014)
enclosingStmt(#20013,#20011)
exprContainers(#20013,#20004)
#20015=*
exprs(#20015,13,#20013,0,"g()")
#20016=@"loc,{#10000},2,12,2,14"
locations_default(#20016,#10000,2,12,2,14)
hasLocation(#20015,#20016)
enclosingStmt(#20015,#20011)
exprContainers(#20015,#20004)
#20017=*
exprs(#20017,79,#20015,-1,"g")
#20018=@"loc,{#10000},2,12,2,12"
locations_default(#20018,#10000,2,12,2,12)
hasLocation(#20017,#20018)
enclosingStmt(#20017,#20011)
exprContainers(#20017,#20004)
literals("g","g",#20017)
#20019=@"var;{g};{#20000}"
variables(#20019,"g",#20000)
bind(#20017,#20019)
isDelegating(#20013)
numlines(#20004,3,3,0)
#20020=*
lines(#20020,#20001,"function* f() {","
")
#20021=@"loc,{#10000},1,1,1,15"
locations_default(#20021,#10000,1,1,1,15)
hasLocation(#20020,#20021)
#20022=*
lines(#20022,#20001," yield* g();","
")
#20023=@"loc,{#10000},2,1,2,15"
locations_default(#20023,#10000,2,1,2,15)
hasLocation(#20022,#20023)
indentation(#10000,2," ",4)
#20024=*
lines(#20024,#20001,"}","")
#20025=@"loc,{#10000},3,1,3,1"
locations_default(#20025,#10000,3,1,3,1)
hasLocation(#20024,#20025)
numlines(#20001,3,3,0)
#20026=*
tokeninfo(#20026,7,#20001,0,"function")
#20027=@"loc,{#10000},1,1,1,8"
locations_default(#20027,#10000,1,1,1,8)
hasLocation(#20026,#20027)
#20028=*
tokeninfo(#20028,8,#20001,1,"*")
#20029=@"loc,{#10000},1,9,1,9"
locations_default(#20029,#10000,1,9,1,9)
hasLocation(#20028,#20029)
#20030=*
tokeninfo(#20030,6,#20001,2,"f")
hasLocation(#20030,#20006)
#20031=*
tokeninfo(#20031,8,#20001,3,"(")
#20032=@"loc,{#10000},1,12,1,12"
locations_default(#20032,#10000,1,12,1,12)
hasLocation(#20031,#20032)
#20033=*
tokeninfo(#20033,8,#20001,4,")")
#20034=@"loc,{#10000},1,13,1,13"
locations_default(#20034,#10000,1,13,1,13)
hasLocation(#20033,#20034)
#20035=*
tokeninfo(#20035,8,#20001,5,"{")
#20036=@"loc,{#10000},1,15,1,15"
locations_default(#20036,#10000,1,15,1,15)
hasLocation(#20035,#20036)
#20037=*
tokeninfo(#20037,7,#20001,6,"yield")
#20038=@"loc,{#10000},2,5,2,9"
locations_default(#20038,#10000,2,5,2,9)
hasLocation(#20037,#20038)
#20039=*
tokeninfo(#20039,8,#20001,7,"*")
#20040=@"loc,{#10000},2,10,2,10"
locations_default(#20040,#10000,2,10,2,10)
hasLocation(#20039,#20040)
#20041=*
tokeninfo(#20041,6,#20001,8,"g")
hasLocation(#20041,#20018)
#20042=*
tokeninfo(#20042,8,#20001,9,"(")
#20043=@"loc,{#10000},2,13,2,13"
locations_default(#20043,#10000,2,13,2,13)
hasLocation(#20042,#20043)
#20044=*
tokeninfo(#20044,8,#20001,10,")")
#20045=@"loc,{#10000},2,14,2,14"
locations_default(#20045,#10000,2,14,2,14)
hasLocation(#20044,#20045)
#20046=*
tokeninfo(#20046,8,#20001,11,";")
#20047=@"loc,{#10000},2,15,2,15"
locations_default(#20047,#10000,2,15,2,15)
hasLocation(#20046,#20047)
#20048=*
tokeninfo(#20048,8,#20001,12,"}")
hasLocation(#20048,#20025)
#20049=*
tokeninfo(#20049,0,#20001,13,"")
#20050=@"loc,{#10000},3,2,3,1"
locations_default(#20050,#10000,3,2,3,1)
hasLocation(#20049,#20050)
#20051=*
entry_cfg_node(#20051,#20001)
#20052=@"loc,{#10000},1,1,1,0"
locations_default(#20052,#10000,1,1,1,0)
hasLocation(#20051,#20052)
#20053=*
exit_cfg_node(#20053,#20001)
hasLocation(#20053,#20050)
successor(#20004,#20053)
#20054=*
entry_cfg_node(#20054,#20004)
hasLocation(#20054,#20052)
#20055=*
exit_cfg_node(#20055,#20004)
hasLocation(#20055,#20050)
successor(#20009,#20011)
successor(#20011,#20017)
successor(#20017,#20015)
successor(#20015,#20013)
successor(#20013,#20055)
successor(#20054,#20009)
successor(#20005,#20004)
successor(#20051,#20005)
numlines(#10000,3,3,0)
filetype(#10000,"javascript")