Exemple #1
0
        public static ExponentExpressionSyntax ExponentExpression(ExpressionSyntax pLeft, ExpressionSyntax pRight)
        {
            var e = new ExponentExpressionSyntax(0, null, null);

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