Пример #1
0
        public static YieldTarget[] BuildYieldTargets(FuncDef func, CodeGen cg)
        {
            YieldLabelBuilder b = new YieldLabelBuilder(func, cg);

            func.Walk(b);
            return(b.topYields);
        }
Пример #2
0
 public override void Walk(IAstWalker w)
 {
     if (w.Walk(this))
     {
         func.Walk(w);
     }
     w.PostWalk(this);
 }