Home
last modified time | relevance | path

Searched refs:TraitUse (Results 1 – 20 of 20) sorted by relevance

/PHP-Parser/test/PhpParser/Node/Stmt/
H A DClassTest.php28 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 DInterfaceTest.php34 new TraitUse([]),
/PHP-Parser/test/PhpParser/Builder/
H A DTraitUseTest.php10 return new TraitUse(...$traits);
20 new Stmt\TraitUse([
36 new Stmt\TraitUse([new Name('SomeTrait')], [
H A DTraitTest.php19 use PhpParser\Node\Stmt\TraitUse; alias
34 $use = new Stmt\TraitUse([new Name('OtherTrait')]);
68 new TraitUse([]),
87 new TraitUse([]),
H A DEnumTest.php59 $use = new Stmt\TraitUse([new Name('SomeTrait')]);
H A DClassTest.php94 $use = new Stmt\TraitUse([new Name('SomeTrait')]);
/PHP-Parser/lib/PhpParser/Builder/
H A DTraitUse.php10 class TraitUse implements Builder { class
63 return new Stmt\TraitUse($this->traits, $this->adaptations);
H A DTrait_.php46 } elseif ($stmt instanceof Stmt\TraitUse) {
H A DEnum_.php79 } elseif ($stmt instanceof Stmt\TraitUse) {
H A DClass_.php113 } elseif ($stmt instanceof Stmt\TraitUse) {
/PHP-Parser/lib/PhpParser/Node/Stmt/
H A DClassLike.php20 * @return TraitUse[]
25 if ($stmt instanceof TraitUse) {
H A DTraitUse.php7 class TraitUse extends Node\Stmt { class
/PHP-Parser/lib/PhpParser/
H A DBuilderFactory.php89 public function useTrait(...$traits): Builder\TraitUse {
90 return new Builder\TraitUse(...$traits);
H A DPrettyPrinterAbstract.php1545 Stmt\TraitUse::class . '->traits' => ', ',
1592 Stmt\TraitUse::class . '->adaptations' => "\n",
/PHP-Parser/lib/PhpParser/NodeVisitor/
H A DNameResolver.php149 } elseif ($node instanceof Stmt\TraitUse) {
/PHP-Parser/grammar/
H A Dphp.y855 | T_USE class_name_list trait_adaptations { $$ = Stmt\TraitUse[$2, $3]; }
/PHP-Parser/lib/PhpParser/PrettyPrinter/
H A DStandard.php811 protected function pStmt_TraitUse(Stmt\TraitUse $node): string {
/PHP-Parser/
H A DCHANGELOG.md868 * Added support for TraitUse statements in trait builder. (#413)
/PHP-Parser/lib/PhpParser/Parser/
H A DPhp7.php2012 …$self->semValue = new Stmt\TraitUse($self->semStack[$stackPos-(3-2)], $self->semStack[$stackPos-(3…
H A DPhp8.php2011 …$self->semValue = new Stmt\TraitUse($self->semStack[$stackPos-(3-2)], $self->semStack[$stackPos-(3…

Completed in 56 milliseconds