internal CodeYieldStatement Yield(CodeExpression exp) { var y = new CodeYieldStatement(exp); Scope.Add(y); return(y); }
public int VisitYield(CodeYieldStatement y) { writer.Write("yield"); writer.Write(" "); writer.Write("return"); writer.Write(" "); y.Expression.Accept(expWriter); EndLineWithSemi(); return(0); }