示例#1
0
        S IAstVisitor <T, S> .VisitYieldReturnStatement(YieldReturnStatement yieldStatement, T data)
        {
            var handler = YieldReturnStatementVisited;

            if (handler != null)
            {
                handler(yieldStatement, data);
            }
            return(VisitChildren(yieldStatement, data));
        }
示例#2
0
 void IAstVisitor.VisitYieldReturnStatement(YieldReturnStatement yieldStatement)
 {
     Visit(EnterYieldReturnStatement, LeaveYieldReturnStatement, yieldStatement);
 }
 public override void VisitYieldReturnStatement(YieldReturnStatement yieldStatement)
 {
     yieldStatement.Expression.AcceptVisitor(this);
     FixSemicolon(yieldStatement.SemicolonToken);
 }