Searched refs:New_ (Results 1 – 13 of 13) sorted by relevance
/PHP-Parser/test/PhpParser/Node/Expr/ |
H A D | CallableLikeTest.php | 31 [new New_(new Name('Test'), $normalArgs), false], 34 [new New_(new Name('Test'), $callableArgs), true],
|
/PHP-Parser/test/PhpParser/NodeVisitor/ |
H A D | NameResolverTest.php | 356 $stmts = [new Node\Expr\New_(new Name('self'))]; 373 new Expr\New_(new Stmt\Class_(null)), 458 new Expr\New_(new Name\FullyQualified('self', ['startLine' => 3])), 462 new Expr\New_(new Name\Relative('self', ['startLine' => 3])), 466 new Expr\New_(new Name\FullyQualified('PARENT', ['startLine' => 3])), 470 new Expr\New_(new Name\Relative('STATIC', ['startLine' => 3])),
|
/PHP-Parser/lib/PhpParser/Node/Expr/ |
H A D | New_.php | 10 class New_ extends CallLike { class
|
/PHP-Parser/lib/PhpParser/Internal/ |
H A D | PrintableNewAnonClassNode.php | 53 public static function fromNewNode(Expr\New_ $newNode): self {
|
/PHP-Parser/lib/PhpParser/ |
H A D | BuilderFactory.php | 304 public function new($class, array $args = []): Expr\New_ { 305 return new Expr\New_(
|
H A D | PrettyPrinterAbstract.php | 623 if ($node instanceof Expr\New_ && $node->class instanceof Stmt\Class_) { 625 assert($origNode instanceof Expr\New_); 1340 Expr\New_::class => ['class' => self::FIXUP_NEW], 1524 Expr\New_::class . '->args' => ', ', 1619 Expr\New_::class . '->args' => ['(', '', ''],
|
/PHP-Parser/test/PhpParser/ |
H A D | BuilderFactoryTest.php | 185 new Expr\New_(new Name\FullyQualified('stdClass')), 190 new Expr\New_(
|
/PHP-Parser/doc/component/ |
H A D | Constant_expression_evaluation.markdown | 72 * `Expr\New_` (since PHP 8.1)
|
/PHP-Parser/lib/PhpParser/NodeVisitor/ |
H A D | NameResolver.php | 133 || $node instanceof Expr\New_
|
/PHP-Parser/grammar/ |
H A D | php.y | 1119 T_NEW class_name_reference argument_list { $$ = Expr\New_[$2, $3]; } 1121 { list($class, $ctorArgs) = $2; $$ = Expr\New_[$class, $ctorArgs]; } 1125 T_NEW class_name_reference { $$ = Expr\New_[$2, []]; }
|
/PHP-Parser/lib/PhpParser/Parser/ |
H A D | Php7.php | 2445 …$self->semValue = new Expr\New_($self->semStack[$stackPos-(3-2)], $self->semStack[$stackPos-(3-3)]… 2448 …$ctorArgs) = $self->semStack[$stackPos-(2-2)]; $self->semValue = new Expr\New_($class, $ctorArgs, … 2451 …$self->semValue = new Expr\New_($self->semStack[$stackPos-(2-2)], [], $self->getAttributes($self->…
|
H A D | Php8.php | 2447 …$self->semValue = new Expr\New_($self->semStack[$stackPos-(3-2)], $self->semStack[$stackPos-(3-3)]… 2450 …$ctorArgs) = $self->semStack[$stackPos-(2-2)]; $self->semValue = new Expr\New_($class, $ctorArgs, … 2453 …$self->semValue = new Expr\New_($self->semStack[$stackPos-(2-2)], [], $self->getAttributes($self->…
|
/PHP-Parser/lib/PhpParser/PrettyPrinter/ |
H A D | Standard.php | 701 protected function pExpr_New(Expr\New_ $node): string {
|
Completed in 54 milliseconds