AjErl.Expressions.BinaryExpression.Evaluate C# (CSharp) 메소드

Evaluate() 공개 메소드

public Evaluate ( Context context, bool withvars = false ) : object
context Context
withvars bool
리턴 object
        public object Evaluate(Context context, bool withvars = false)
        {
            var lvalue = Machine.ExpandDelayedCall(this.left.Evaluate(context, withvars));
            var rvalue = Machine.ExpandDelayedCall(this.right.Evaluate(context, withvars));

            return this.Apply(lvalue, rvalue);
        }