Esempio n. 1
0
        public static OrExpressionSyntax OrExpression(ExpressionSyntax pLeft, ExpressionSyntax pRight)
        {
            var o = new OrExpressionSyntax(0, null, null);

            o.SetLeft(pLeft);
            o.SetRight(pRight);
            return(o);
        }
Esempio n. 2
0
 public virtual void Visit(OrExpressionSyntax pNode)
 {
     pNode.Left.Accept(this);
     pNode.Right.Accept(this);
 }
Esempio n. 3
0
 public virtual SyntaxNode Visit(OrExpressionSyntax pNode)
 {
     return(SyntaxFactory.OrExpression(pNode.Left.Accept <ExpressionSyntax>(this),
                                       pNode.Right.Accept <ExpressionSyntax>(this)).WithAttributes(pNode));
 }