Searched refs:TraitUse (Results 1 – 20 of 20) sorted by relevance
/PHP-Parser/test/PhpParser/Node/Stmt/ |
H A D | ClassTest.php | 28 new TraitUse([new Trait_('foo')]), 29 new TraitUse([new Trait_('bar')]), 50 new TraitUse([]), 69 new TraitUse([]), 86 new TraitUse([]), 105 new TraitUse([]),
|
H A D | InterfaceTest.php | 34 new TraitUse([]),
|
/PHP-Parser/test/PhpParser/Builder/ |
H A D | TraitUseTest.php | 10 return new TraitUse(...$traits); 20 new Stmt\TraitUse([ 36 new Stmt\TraitUse([new Name('SomeTrait')], [
|
H A D | TraitTest.php | 19 use PhpParser\Node\Stmt\TraitUse; alias 34 $use = new Stmt\TraitUse([new Name('OtherTrait')]); 68 new TraitUse([]), 87 new TraitUse([]),
|
H A D | EnumTest.php | 59 $use = new Stmt\TraitUse([new Name('SomeTrait')]);
|
H A D | ClassTest.php | 94 $use = new Stmt\TraitUse([new Name('SomeTrait')]);
|
/PHP-Parser/lib/PhpParser/Builder/ |
H A D | TraitUse.php | 10 class TraitUse implements Builder { class 63 return new Stmt\TraitUse($this->traits, $this->adaptations);
|
H A D | Trait_.php | 46 } elseif ($stmt instanceof Stmt\TraitUse) {
|
H A D | Enum_.php | 79 } elseif ($stmt instanceof Stmt\TraitUse) {
|
H A D | Class_.php | 113 } elseif ($stmt instanceof Stmt\TraitUse) {
|
/PHP-Parser/lib/PhpParser/Node/Stmt/ |
H A D | ClassLike.php | 20 * @return TraitUse[] 25 if ($stmt instanceof TraitUse) {
|
H A D | TraitUse.php | 7 class TraitUse extends Node\Stmt { class
|
/PHP-Parser/lib/PhpParser/ |
H A D | BuilderFactory.php | 89 public function useTrait(...$traits): Builder\TraitUse { 90 return new Builder\TraitUse(...$traits);
|
H A D | PrettyPrinterAbstract.php | 1545 Stmt\TraitUse::class . '->traits' => ', ', 1592 Stmt\TraitUse::class . '->adaptations' => "\n",
|
/PHP-Parser/lib/PhpParser/NodeVisitor/ |
H A D | NameResolver.php | 149 } elseif ($node instanceof Stmt\TraitUse) {
|
/PHP-Parser/grammar/ |
H A D | php.y | 855 | T_USE class_name_list trait_adaptations { $$ = Stmt\TraitUse[$2, $3]; }
|
/PHP-Parser/lib/PhpParser/PrettyPrinter/ |
H A D | Standard.php | 811 protected function pStmt_TraitUse(Stmt\TraitUse $node): string {
|
/PHP-Parser/ |
H A D | CHANGELOG.md | 868 * Added support for TraitUse statements in trait builder. (#413)
|
/PHP-Parser/lib/PhpParser/Parser/ |
H A D | Php7.php | 2012 …$self->semValue = new Stmt\TraitUse($self->semStack[$stackPos-(3-2)], $self->semStack[$stackPos-(3…
|
H A D | Php8.php | 2011 …$self->semValue = new Stmt\TraitUse($self->semStack[$stackPos-(3-2)], $self->semStack[$stackPos-(3…
|
Completed in 52 milliseconds