예제 #1
0
        private static void AcceptBinary(QNode node, IQNodeVisitor visitor)
        {
            node.Left.Accept(visitor);
            if (node.Right.Type == NodeType.Constant)
            {
                visitor.SetConstantConverter(node);
            }


            node.Right.Accept(visitor);
            visitor.VisitBinary(node);
        }
예제 #2
0
 private static void AcceptBinary(QNode node, IQNodeVisitor visitor)
 {
     node.Operand.Accept(visitor);
     node.Argument.Accept(visitor);
     visitor.VisitBinary(node);
 }
예제 #3
0
 private static void AcceptBinary(QNode node, IQNodeVisitor visitor)
 {
     node.Left.Accept(visitor);
     node.Right.Accept(visitor);
     visitor.VisitBinary(node);
 }