Searched refs:ConstFetch (Results 1 – 22 of 22) sorted by relevance
/PHP-Parser/test/PhpParser/NodeVisitor/ |
H A D | NodeConnectingVisitorTest.php | 5 use PhpParser\Node\Expr\ConstFetch; alias 27 $this->assertSame(ConstFetch::class, get_class($node->getAttribute('previous'))); 29 $node = (new NodeFinder())->findFirstInstanceof($ast, ConstFetch::class);
|
H A D | NameResolverTest.php | 403 new Expr\ConstFetch(new Name('FOO')), 407 new Expr\ConstFetch(new Name('FOO')),
|
/PHP-Parser/lib/PhpParser/Node/Expr/ |
H A D | ConstFetch.php | 8 class ConstFetch extends Expr { class
|
/PHP-Parser/test/PhpParser/Builder/ |
H A D | ClassConstTest.php | 172 new Expr\ConstFetch(new Name('null')) 176 new Expr\ConstFetch(new Name('true')) 180 new Expr\ConstFetch(new Name('false'))
|
H A D | PropertyTest.php | 182 new Expr\ConstFetch(new Name('null')) 186 new Expr\ConstFetch(new Name('true')) 190 new Expr\ConstFetch(new Name('false'))
|
H A D | ParamTest.php | 37 new Expr\ConstFetch(new Node\Name('null')) 41 new Expr\ConstFetch(new Node\Name('true')) 45 new Expr\ConstFetch(new Node\Name('false'))
|
/PHP-Parser/test/code/formatPreservation/ |
H A D | fixup.test | 65 $stmts[11]->expr->class = new Expr\ConstFetch(new Node\Name('FOO')); 66 $stmts[12]->expr->class = new Expr\ConstFetch(new Node\Name('FOO')); 67 $stmts[13]->expr->class = new Expr\ConstFetch(new Node\Name('FOO'));
|
H A D | basic.test | 130 $stmts[0]->exprs[0] = new Expr\ConstFetch(new Node\Name('C'));
|
H A D | insertionOfNullable.test | 80 $stmts[0]->params[1]->default = new Expr\ConstFetch(new Node\Name('null'));
|
/PHP-Parser/lib/PhpParser/ |
H A D | BuilderHelpers.php | 228 return new Expr\ConstFetch( 234 return new Expr\ConstFetch(
|
H A D | ConstExprEvaluator.php | 144 if ($expr instanceof Expr\ConstFetch) { 224 private function evaluateConstFetch(Expr\ConstFetch $expr) {
|
H A D | BuilderFactory.php | 316 public function constFetch($name): Expr\ConstFetch { 317 return new Expr\ConstFetch(BuilderHelpers::normalizeName($name));
|
H A D | PrettyPrinterAbstract.php | 1165 && !$node instanceof Expr\ConstFetch;
|
/PHP-Parser/test/PhpParser/ |
H A D | BuilderHelpersTest.php | 182 …$this->assertEquals(new Expr\ConstFetch(new Node\Name('null')), BuilderHelpers::normalizeValue(nul… 183 …$this->assertEquals(new Expr\ConstFetch(new Node\Name('true')), BuilderHelpers::normalizeValue(tru… 184 …$this->assertEquals(new Expr\ConstFetch(new Node\Name('false')), BuilderHelpers::normalizeValue(fa…
|
H A D | BuilderFactoryTest.php | 201 new Expr\ConstFetch(new Name('FOO')),
|
/PHP-Parser/doc/component/ |
H A D | Constant_expression_evaluation.markdown | 70 * `Expr\ConstFetch` (only null/false/true are handled) 89 if ($expr instanceof Expr\ConstFetch) {
|
/PHP-Parser/tools/fuzzing/ |
H A D | target.php | 79 if ($node instanceof Expr\ConstFetch && $node->name->isUnqualified() &&
|
/PHP-Parser/lib/PhpParser/NodeVisitor/ |
H A D | NameResolver.php | 147 } elseif ($node instanceof Expr\ConstFetch) {
|
/PHP-Parser/grammar/ |
H A D | php.y | 1200 name { $$ = Expr\ConstFetch[$1]; }
|
/PHP-Parser/lib/PhpParser/PrettyPrinter/ |
H A D | Standard.php | 631 protected function pExpr_ConstFetch(Expr\ConstFetch $node): string {
|
/PHP-Parser/lib/PhpParser/Parser/ |
H A D | Php7.php | 2526 …$self->semValue = new Expr\ConstFetch($self->semStack[$stackPos-(1-1)], $self->getAttributes($self…
|
H A D | Php8.php | 2528 …$self->semValue = new Expr\ConstFetch($self->semStack[$stackPos-(1-1)], $self->getAttributes($self…
|
Completed in 79 milliseconds