Example #1
0
        //TODO: eventually, we just need to return ternary and avoid the extra objects

        public IExpression MakeLogicalAndExpression(IExpression leftExpr, IExpression rightExpr)
        {
            var left           = (Expression)leftExpr;
            var right          = (Expression)rightExpr;
            var implementation = MakeTernaryExpressionInternal(left, right, left);
            var n = new LogicalAndExpression(left, right, implementation);

            return(n);
        }
Example #2
0
 public override void Visit(LogicalAndExpression node) { Visit((BinaryExpression)node); }
Example #3
0
 public override void Visit(LogicalAndExpression node) { base.Visit(node); node.ValueType = GetType(node); }
Example #4
0
 internal static mdr.ValueTypes GetType(LogicalAndExpression expression) { return GetType(expression.Implementation); }
Example #5
0
 public override void Visit(LogicalAndExpression node)
 {
     Visit((BinaryExpression)node);
 }
Example #6
0
    //TODO: eventually, we just need to return ternary and avoid the extra objects

    public IExpression MakeLogicalAndExpression(IExpression leftExpr, IExpression rightExpr)
    {
      var left = (Expression)leftExpr;
      var right = (Expression)rightExpr;
      var implementation = MakeTernaryExpressionInternal(left, right, left);
      var n = new LogicalAndExpression(left, right, implementation);
      return n;
    }
Example #7
0
 public abstract void Visit(LogicalAndExpression node);
Example #8
0
 public override void Visit(LogicalAndExpression node)
 {
   PushLocation(node);
   VisitNode(node.Implementation);
   PopLocation();
 }
Example #9
0
 public override void Visit(LogicalAndExpression node) { VisitNode(node.Implementation); }