Searched refs:Trait_ (Results 1 – 18 of 18) sorted by relevance
/PHP-Parser/test/PhpParser/Builder/ |
H A D | TraitTest.php | 23 return new Trait_($class); 43 $this->assertEquals(new Stmt\Trait_('TestTrait', [ 66 $trait = new Stmt\Trait_('Foo', [ 85 $trait = new Stmt\Trait_('Foo', [ 111 new Stmt\Trait_(
|
/PHP-Parser/lib/PhpParser/Node/Scalar/MagicConst/ |
H A D | Trait_.php | 7 class Trait_ extends MagicConst { class
|
/PHP-Parser/lib/PhpParser/Builder/ |
H A D | Trait_.php | 10 class Trait_ extends Declaration { class 76 return new Stmt\Trait_(
|
/PHP-Parser/lib/PhpParser/Node/Stmt/ |
H A D | Trait_.php | 7 class Trait_ extends ClassLike { class
|
/PHP-Parser/test/PhpParser/Node/Scalar/ |
H A D | MagicConstTest.php | 22 [new MagicConst\Trait_(), '__TRAIT__'],
|
/PHP-Parser/test/PhpParser/Node/Stmt/ |
H A D | ClassTest.php | 28 new TraitUse([new Trait_('foo')]), 29 new TraitUse([new Trait_('bar')]),
|
/PHP-Parser/lib/PhpParser/ |
H A D | BuilderFactory.php | 67 public function trait(string $name): Builder\Trait_ { 68 return new Builder\Trait_($name);
|
H A D | PrettyPrinterAbstract.php | 1561 Stmt\Trait_::class . '->stmts' => "\n", 1580 Stmt\Trait_::class . '->attrGroups' => "\n", 1634 Stmt\Trait_::class . '->attrGroups' => [null, '', "\n"],
|
/PHP-Parser/ |
H A D | UPGRADE-1.0.md | 115 public function pStmt_Trait(Stmt\Trait_ $node) {
|
H A D | UPGRADE-4.0.md | 41 * `Stmt\Trait_::$name`
|
H A D | CHANGELOG.md | 435 support attributes, i.e. `Stmt\Class_`, `Stmt\Trait_`, `Stmt\Interface_`, `Stmt\Function_`,
|
/PHP-Parser/test/PhpParser/NodeVisitor/ |
H A D | NameResolverTest.php | 372 new Stmt\Trait_('E'),
|
/PHP-Parser/test/PhpParser/ |
H A D | BuilderFactoryTest.php | 28 ['trait', Builder\Trait_::class],
|
/PHP-Parser/lib/PhpParser/NodeVisitor/ |
H A D | NameResolver.php | 95 } elseif ($node instanceof Stmt\Trait_) {
|
/PHP-Parser/grammar/ |
H A D | php.y | 491 { $$ = Stmt\Trait_[$3, ['stmts' => $5, 'attrGroups' => $1]]; } 1205 | T_TRAIT_C { $$ = Scalar\MagicConst\Trait_[]; }
|
/PHP-Parser/lib/PhpParser/PrettyPrinter/ |
H A D | Standard.php | 125 protected function pScalar_MagicConst_Trait(MagicConst\Trait_ $node): string { 798 protected function pStmt_Trait(Stmt\Trait_ $node): string {
|
/PHP-Parser/lib/PhpParser/Parser/ |
H A D | Php7.php | 1627 …$self->semValue = new Stmt\Trait_($self->semStack[$stackPos-(6-3)], ['stmts' => $self->semStack[$s… 2541 …$self->semValue = new Scalar\MagicConst\Trait_($self->getAttributes($self->tokenStartStack[$stackP…
|
H A D | Php8.php | 1622 …$self->semValue = new Stmt\Trait_($self->semStack[$stackPos-(6-3)], ['stmts' => $self->semStack[$s… 2543 …$self->semValue = new Scalar\MagicConst\Trait_($self->getAttributes($self->tokenStartStack[$stackP…
|
Completed in 94 milliseconds