Home
last modified time | relevance | path

Searched refs:Trait_ (Results 1 – 18 of 18) sorted by relevance

/PHP-Parser/test/PhpParser/Builder/
H A DTraitTest.php23 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 DTrait_.php7 class Trait_ extends MagicConst { class
/PHP-Parser/lib/PhpParser/Builder/
H A DTrait_.php10 class Trait_ extends Declaration { class
76 return new Stmt\Trait_(
/PHP-Parser/lib/PhpParser/Node/Stmt/
H A DTrait_.php7 class Trait_ extends ClassLike { class
/PHP-Parser/test/PhpParser/Node/Scalar/
H A DMagicConstTest.php22 [new MagicConst\Trait_(), '__TRAIT__'],
/PHP-Parser/test/PhpParser/Node/Stmt/
H A DClassTest.php28 new TraitUse([new Trait_('foo')]),
29 new TraitUse([new Trait_('bar')]),
/PHP-Parser/lib/PhpParser/
H A DBuilderFactory.php67 public function trait(string $name): Builder\Trait_ {
68 return new Builder\Trait_($name);
H A DPrettyPrinterAbstract.php1561 Stmt\Trait_::class . '->stmts' => "\n",
1580 Stmt\Trait_::class . '->attrGroups' => "\n",
1634 Stmt\Trait_::class . '->attrGroups' => [null, '', "\n"],
/PHP-Parser/
H A DUPGRADE-1.0.md115 public function pStmt_Trait(Stmt\Trait_ $node) {
H A DUPGRADE-4.0.md41 * `Stmt\Trait_::$name`
H A DCHANGELOG.md435 support attributes, i.e. `Stmt\Class_`, `Stmt\Trait_`, `Stmt\Interface_`, `Stmt\Function_`,
/PHP-Parser/test/PhpParser/NodeVisitor/
H A DNameResolverTest.php372 new Stmt\Trait_('E'),
/PHP-Parser/test/PhpParser/
H A DBuilderFactoryTest.php28 ['trait', Builder\Trait_::class],
/PHP-Parser/lib/PhpParser/NodeVisitor/
H A DNameResolver.php95 } elseif ($node instanceof Stmt\Trait_) {
/PHP-Parser/grammar/
H A Dphp.y491 { $$ = Stmt\Trait_[$3, ['stmts' => $5, 'attrGroups' => $1]]; }
1205 | T_TRAIT_C { $$ = Scalar\MagicConst\Trait_[]; }
/PHP-Parser/lib/PhpParser/PrettyPrinter/
H A DStandard.php125 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 DPhp7.php1627 …$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 DPhp8.php1622 …$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