Searched refs:evaluateDirectly (Results 1 – 3 of 3) sorted by relevance
14 $this->assertSame($expected, $evaluator->evaluateDirectly($expr));81 $evaluator->evaluateDirectly(new Expr\Variable('a'));95 $this->assertSame(50, $evaluator->evaluateDirectly($expr));
34 The constant evaluator provides two methods, `evaluateDirectly()` and `evaluateSilently()`, which35 differ in error behavior. `evaluateDirectly()` will evaluate the expression as PHP would, including50 var_dump($evaluator->evaluateDirectly($expr)); // float(INF)
101 public function evaluateDirectly(Expr $expr) { function in PhpParser\\ConstExprEvaluator
Completed in 6 milliseconds