コード例 #1
0
        S IAstVisitor <T, S> .VisitParenthesizedExpression(ParenthesizedExpression parenthesizedExpression, T data)
        {
            var handler = ParenthesizedExpressionVisited;

            if (handler != null)
            {
                handler(parenthesizedExpression, data);
            }
            return(VisitChildren(parenthesizedExpression, data));
        }
コード例 #2
0
        protected internal override bool DoMatch(AstNode other, PatternMatching.Match match)
        {
            ParenthesizedExpression o = other as ParenthesizedExpression;

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