Esempio n. 1
0
        public static ModExpressionSyntax ModExpression(ExpressionSyntax pLeft, ExpressionSyntax pRight)
        {
            var m = new ModExpressionSyntax(0, null, null);

            m.SetLeft(pLeft);
            m.SetRight(pRight);
            return(m);
        }
Esempio n. 2
0
 public virtual void Visit(ModExpressionSyntax pNode)
 {
     pNode.Left.Accept(this);
     pNode.Right.Accept(this);
 }
Esempio n. 3
0
 public virtual SyntaxNode Visit(ModExpressionSyntax pNode)
 {
     return(SyntaxFactory.ModExpression(pNode.Left.Accept <ExpressionSyntax>(this),
                                        pNode.Right.Accept <ExpressionSyntax>(this)).WithAttributes(pNode));
 }