public static AdditionExpressionSyntax AdditionExpression(ExpressionSyntax pLeft, ExpressionSyntax pRight) { var a = new AdditionExpressionSyntax(0, null, null); a.SetLeft(pLeft); a.SetRight(pRight); return(a); }
public virtual void Visit(AdditionExpressionSyntax pNode) { pNode.Left.Accept(this); pNode.Right.Accept(this); }
public virtual SyntaxNode Visit(AdditionExpressionSyntax pNode) { return(SyntaxFactory.AdditionExpression(pNode.Left.Accept <ExpressionSyntax>(this), pNode.Right.Accept <ExpressionSyntax>(this)).WithAttributes(pNode)); }