Inheritance: System.Compiler.Statement
Exemplo n.º 1
0
 private YieldStatement VisitYield(YieldStatement Yield)
 {
     return Yield;
 }
Exemplo n.º 2
0
        public Statement VisitYield(YieldStatement yield)
        {
            if (yield == null) return null;

            BasicBlock block = AddBlock(new BasicBlock(yield, CurrentContinuation));
            block.Yields = true;
            CurrentContinuation = block;

            return yield;
        }
Exemplo n.º 3
0
 public Statement VisitYield(YieldStatement Yield)
 {
     return null;
 }
Exemplo n.º 4
0
 private YieldStatement VisitYield(YieldStatement yield)
 {
     if (yield == null) return null;
     if (((ZMethod)this.currentMethod).Atomic)
     {
         this.HandleError(yield, Error.IllegalYieldInAtomicBlock);
         return null;
     }
     return yield;
 }