Beispiel #1
0
        public static SubtractionExpressionSyntax SubtractionExpression(ExpressionSyntax pLeft, ExpressionSyntax pRight)
        {
            var s = new SubtractionExpressionSyntax(0, null, null);

            s.SetLeft(pLeft);
            s.SetRight(pRight);
            return(s);
        }
Beispiel #2
0
 public virtual void Visit(SubtractionExpressionSyntax pNode)
 {
     pNode.Left.Accept(this);
     pNode.Right.Accept(this);
 }
Beispiel #3
0
 public virtual SyntaxNode Visit(SubtractionExpressionSyntax pNode)
 {
     return(SyntaxFactory.SubtractionExpression(pNode.Left.Accept <ExpressionSyntax>(this),
                                                pNode.Right.Accept <ExpressionSyntax>(this)).WithAttributes(pNode));
 }