Пример #1
0
        public static LShiftExpressionSyntax LShiftExpression(ExpressionSyntax pLeft, ExpressionSyntax pRight)
        {
            var l = new LShiftExpressionSyntax(0, null, null);

            l.SetLeft(pLeft);
            l.SetRight(pRight);
            return(l);
        }
Пример #2
0
 public virtual void Visit(LShiftExpressionSyntax pNode)
 {
     pNode.Left.Accept(this);
     pNode.Right.Accept(this);
 }
Пример #3
0
 public virtual SyntaxNode Visit(LShiftExpressionSyntax pNode)
 {
     return(SyntaxFactory.LShiftExpression(pNode.Left.Accept <ExpressionSyntax>(this),
                                           pNode.Right.Accept <ExpressionSyntax>(this)).WithAttributes(pNode));
 }