protected ExprEqualsNodeForgeNCEvalBase(
     ExprEqualsNodeImpl parent,
     ExprEvaluator lhs,
     ExprEvaluator rhs)
 {
     this.parent = parent;
     this.Lhs = lhs;
     this.Rhs = rhs;
 }
 internal ExprEqualsNodeForgeNCEvalEquals(
     ExprEqualsNodeImpl parent,
     ExprEvaluator lhs,
     ExprEvaluator rhs)
 {
     _parent = parent;
     _lhs = lhs;
     _rhs = rhs;
 }
 public ExprEqualsNodeForgeCoercion(
     ExprEqualsNodeImpl parent,
     Coercer coercerLhs,
     Coercer coercerRhs)
     : base(parent)
 {
     CoercerLHS = coercerLhs;
     CoercerRHS = coercerRhs;
 }
 public ExprEqualsNodeForgeNCEvalIs(
     ExprEqualsNodeImpl parent,
     ExprEvaluator lhs,
     ExprEvaluator rhs)
 {
     this._parent = parent;
     this._lhs = lhs;
     this._rhs = rhs;
 }
Example #5
0
        private ExprEqualsNode MakeNode(
            object valueLeft,
            object valueRight,
            bool isNot)
        {
            ExprEqualsNode equalsNode = new ExprEqualsNodeImpl(isNot, false);

            equalsNode.AddChildNode(new SupportExprNode(valueLeft));
            equalsNode.AddChildNode(new SupportExprNode(valueRight));
            SupportExprNodeUtil.Validate(container, equalsNode);
            return(equalsNode);
        }
Example #6
0
 public ExprEqualsNodeForgeCoercionEval(
     ExprEqualsNodeImpl parent,
     ExprEvaluator lhs,
     ExprEvaluator rhs,
     Coercer coercerLhs,
     Coercer coercerRhs)
 {
     _parent = parent;
     _lhs = lhs;
     _rhs = rhs;
     _coercerLhs = coercerLhs;
     _coercerRhs = coercerRhs;
 }
Example #7
0
        public void SetUp()
        {
            equalsNodes    = new ExprEqualsNode[4];
            equalsNodes[0] = new ExprEqualsNodeImpl(false, false);

            equalsNodes[1] = new ExprEqualsNodeImpl(false, false);
            equalsNodes[1].AddChildNode(new SupportExprNode(1L));
            equalsNodes[1].AddChildNode(new SupportExprNode(1));
            equalsNodes[1].Validate(SupportExprValidationContextFactory.MakeEmpty(container));

            equalsNodes[2] = new ExprEqualsNodeImpl(true, false);
            equalsNodes[2].AddChildNode(new SupportExprNode(1.5D));
            equalsNodes[2].AddChildNode(new SupportExprNode(1));
            equalsNodes[2].Validate(SupportExprValidationContextFactory.MakeEmpty(container));

            equalsNodes[3] = new ExprEqualsNodeImpl(false, false);
            equalsNodes[3].AddChildNode(new SupportExprNode(1D));
            equalsNodes[3].AddChildNode(new SupportExprNode(1));
            equalsNodes[3].Validate(SupportExprValidationContextFactory.MakeEmpty(container));
        }
 public ExprEqualsNodeForgeNCEvalIsArrayInt(
     ExprEqualsNodeImpl parent,
     ExprEvaluator lhs,
     ExprEvaluator rhs) : base(parent, lhs, rhs)
 {
 }
Example #9
0
 public ExprEqualsNodeForgeNCEvalEqualsArrayBoolean(
     ExprEqualsNodeImpl parent,
     ExprEvaluator lhs,
     ExprEvaluator rhs) : base(parent, lhs, rhs)
 {
 }
Example #10
0
 public ExprEqualsNodeForgeNC(ExprEqualsNodeImpl parent)
     : base(parent)
 {
 }
Example #11
0
 public ExprEqualsNodeForge(ExprEqualsNodeImpl parent)
 {
     this.parent = parent;
 }