Home
last modified time | relevance | path

Searched refs:ConstExprEvaluator (Results 1 – 5 of 5) sorted by relevance

/PHP-Parser/test/PhpParser/
H A DConstExprEvaluatorTest.php13 $evaluator = new ConstExprEvaluator();
80 $evaluator = new ConstExprEvaluator();
85 $evaluator = new ConstExprEvaluator(function (Expr $expr) {
102 $evaluator = new ConstExprEvaluator();
/PHP-Parser/doc/component/
H A DConstant_expression_evaluation.markdown15 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) {
/PHP-Parser/
H A Dphpstan-baseline.neon59 …message: "#^Method PhpParser\\\\ConstExprEvaluator\\:\\:evaluateArray\\(\\) return type has no val…
61 path: lib/PhpParser/ConstExprEvaluator.php
66 path: lib/PhpParser/ConstExprEvaluator.php
H A DCHANGELOG.md789 * Added `ConstExprEvaluator` to evaluate constant expressions to PHP values.
/PHP-Parser/lib/PhpParser/
H A DConstExprEvaluator.php29 class ConstExprEvaluator { class

Completed in 15 milliseconds