Beispiel #1
0
        public static EqualsExpressionSyntax EqualsExpression(ExpressionSyntax pLeft, ExpressionSyntax pRight)
        {
            var e = new EqualsExpressionSyntax(0, null, null);

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