public function asEvaluator(IEvaluationContext $context = null)
    {
        return CompiledEvaluator::fromExpressions([Expression::returnExpression($this)], $context);
    }
public function asEvaluator(IEvaluationContext $context = null)
    {
        return CompiledEvaluator::fromExpressions([Expression::returnExpression($this)], $context);
    }
public function asEvaluator ( IEvaluationContext $ context = null ) { return CompiledEvaluator :: fromExpressions ( [ Expression :: returnExpression ( $ this ) ] , $ context ) ; }
Creates an expression evaluator for the expression with
the supplied context.

@param IEvaluationContext|null $context

@return IEvaluator
Creates an expression evaluator for the expression with the supplied context .