예제 #1
0
        public static GreaterThanExpressionSyntax GreaterThanExpression(ExpressionSyntax pLeft, ExpressionSyntax pRight)
        {
            var g = new GreaterThanExpressionSyntax(0, null, null);

            g.SetLeft(pLeft);
            g.SetRight(pRight);
            return(g);
        }
예제 #2
0
 public virtual void Visit(GreaterThanExpressionSyntax pNode)
 {
     pNode.Left.Accept(this);
     pNode.Right.Accept(this);
 }
예제 #3
0
 public virtual SyntaxNode Visit(GreaterThanExpressionSyntax pNode)
 {
     return(SyntaxFactory.GreaterThanExpression(pNode.Left.Accept <ExpressionSyntax>(this),
                                                pNode.Right.Accept <ExpressionSyntax>(this)).WithAttributes(pNode));
 }