コード例 #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
        protected internal override bool DoMatch(AstNode other, PatternMatching.Match match)
        {
            YieldReturnStatement o = other as YieldReturnStatement;

            return(o != null && this.Expression.DoMatch(o.Expression, match));
        }
コード例 #3
0
 public virtual S VisitYieldReturnStatement(YieldReturnStatement yieldReturnStatement, T data)
 {
     return(VisitChildren(yieldReturnStatement, data));
 }