예제 #1
0
        public static AdditionExpressionSyntax AdditionExpression(ExpressionSyntax pLeft, ExpressionSyntax pRight)
        {
            var a = new AdditionExpressionSyntax(0, null, null);

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