Searched refs:ConstExprEvaluator (Results 1 – 5 of 5) sorted by relevance
13 $evaluator = new ConstExprEvaluator();80 $evaluator = new ConstExprEvaluator();85 $evaluator = new ConstExprEvaluator(function (Expr $expr) {102 $evaluator = new ConstExprEvaluator();
15 PHP-Parser supports evaluation of such constant expressions through the `ConstExprEvaluator` class:20 use PhpParser\{ConstExprEvaluator, ConstExprEvaluationException};22 $evaluator = new ConstExprEvaluator();42 use PhpParser\{ConstExprEvaluator, ConstExprEvaluationException};45 $evaluator = new ConstExprEvaluator();85 use PhpParser\{ConstExprEvaluator, ConstExprEvaluationException};88 $evaluator = new ConstExprEvaluator(function(Expr $expr) {
59 …message: "#^Method PhpParser\\\\ConstExprEvaluator\\:\\:evaluateArray\\(\\) return type has no val…61 path: lib/PhpParser/ConstExprEvaluator.php66 path: lib/PhpParser/ConstExprEvaluator.php
789 * Added `ConstExprEvaluator` to evaluate constant expressions to PHP values.
29 class ConstExprEvaluator { class
Completed in 10 milliseconds