public static YieldTarget[] BuildYieldTargets(FuncDef func, CodeGen cg) { YieldLabelBuilder b = new YieldLabelBuilder(func, cg); func.Walk(b); return(b.topYields); }
public override void Walk(IAstWalker w) { if (w.Walk(this)) { func.Walk(w); } w.PostWalk(this); }