Searched refs:TraitUseAdaptation (Results 1 – 16 of 16) sorted by relevance
/PHP-Parser/test/PhpParser/Builder/ |
H A D | TraitUseTest.php | 30 ->with(new Stmt\TraitUseAdaptation\Alias(null, 'foo', null, 'bar')) 31 ->with((new TraitUseAdaptation(null, 'test'))->as('baz')) 37 new Stmt\TraitUseAdaptation\Alias(null, 'foo', null, 'bar'), 38 new Stmt\TraitUseAdaptation\Alias(null, 'test', null, 'baz')
|
H A D | TraitUseAdaptationTest.php | 12 return new TraitUseAdaptation($trait, $method); 19 new Stmt\TraitUseAdaptation\Alias(null, 'foo', null, 'bar'), 24 new Stmt\TraitUseAdaptation\Alias(null, 'foo', Modifiers::PUBLIC, null), 29 new Stmt\TraitUseAdaptation\Alias(null, 'foo', Modifiers::PROTECTED, null), 34 new Stmt\TraitUseAdaptation\Alias(null, 'foo', Modifiers::PRIVATE, null), 46 new Stmt\TraitUseAdaptation\Precedence(
|
/PHP-Parser/lib/PhpParser/Node/Stmt/ |
H A D | TraitUse.php | 10 /** @var TraitUseAdaptation[] Adaptations */ 17 * @param TraitUseAdaptation[] $adaptations Adaptations
|
H A D | TraitUseAdaptation.php | 7 abstract class TraitUseAdaptation extends Node\Stmt { class
|
/PHP-Parser/lib/PhpParser/Node/Stmt/TraitUseAdaptation/ |
H A D | Precedence.php | 3 namespace PhpParser\Node\Stmt\TraitUseAdaptation; 7 class Precedence extends Node\Stmt\TraitUseAdaptation {
|
H A D | Alias.php | 3 namespace PhpParser\Node\Stmt\TraitUseAdaptation; 7 class Alias extends Node\Stmt\TraitUseAdaptation {
|
/PHP-Parser/lib/PhpParser/Builder/ |
H A D | TraitUseAdaptation.php | 11 class TraitUseAdaptation implements Builder { class 138 …return new Stmt\TraitUseAdaptation\Alias($this->trait, $this->method, $this->modifier, $this->alia… 140 … return new Stmt\TraitUseAdaptation\Precedence($this->trait, $this->method, $this->insteadof);
|
H A D | TraitUse.php | 49 if (!$adaptation instanceof Stmt\TraitUseAdaptation) {
|
/PHP-Parser/ |
H A D | UPGRADE-4.0.md | 38 * `Stmt\TraitUseAdaptation\Alias::$method` 39 * `Stmt\TraitUseAdaptation\Alias::$newName` 40 * `Stmt\TraitUseAdaptation\Precedence::$method`
|
/PHP-Parser/lib/PhpParser/ |
H A D | BuilderFactory.php | 101 public function traitUseAdaptation($trait, $method = null): Builder\TraitUseAdaptation { 107 return new Builder\TraitUseAdaptation($trait, $method);
|
H A D | PrettyPrinterAbstract.php | 1546 Stmt\TraitUseAdaptation\Precedence::class . '->insteadof' => ', ',
|
/PHP-Parser/grammar/ |
H A D | php.y | 873 { $$ = Stmt\TraitUseAdaptation\Precedence[$1[0], $1[1], $3]; } 875 { $$ = Stmt\TraitUseAdaptation\Alias[$1[0], $1[1], $3, $4]; } 877 { $$ = Stmt\TraitUseAdaptation\Alias[$1[0], $1[1], $3, null]; } 879 { $$ = Stmt\TraitUseAdaptation\Alias[$1[0], $1[1], null, $3]; } 881 { $$ = Stmt\TraitUseAdaptation\Alias[$1[0], $1[1], null, $3]; }
|
/PHP-Parser/lib/PhpParser/NodeVisitor/ |
H A D | NameResolver.php | 159 if ($adaptation instanceof Stmt\TraitUseAdaptation\Precedence) {
|
/PHP-Parser/lib/PhpParser/Parser/ |
H A D | Php7.php | 2033 …$self->semValue = new Stmt\TraitUseAdaptation\Precedence($self->semStack[$stackPos-(4-1)][0], $sel… 2036 …$self->semValue = new Stmt\TraitUseAdaptation\Alias($self->semStack[$stackPos-(5-1)][0], $self->se… 2039 …$self->semValue = new Stmt\TraitUseAdaptation\Alias($self->semStack[$stackPos-(4-1)][0], $self->se… 2042 …$self->semValue = new Stmt\TraitUseAdaptation\Alias($self->semStack[$stackPos-(4-1)][0], $self->se… 2045 …$self->semValue = new Stmt\TraitUseAdaptation\Alias($self->semStack[$stackPos-(4-1)][0], $self->se…
|
H A D | Php8.php | 2032 …$self->semValue = new Stmt\TraitUseAdaptation\Precedence($self->semStack[$stackPos-(4-1)][0], $sel… 2035 …$self->semValue = new Stmt\TraitUseAdaptation\Alias($self->semStack[$stackPos-(5-1)][0], $self->se… 2038 …$self->semValue = new Stmt\TraitUseAdaptation\Alias($self->semStack[$stackPos-(4-1)][0], $self->se… 2041 …$self->semValue = new Stmt\TraitUseAdaptation\Alias($self->semStack[$stackPos-(4-1)][0], $self->se… 2044 …$self->semValue = new Stmt\TraitUseAdaptation\Alias($self->semStack[$stackPos-(4-1)][0], $self->se…
|
/PHP-Parser/lib/PhpParser/PrettyPrinter/ |
H A D | Standard.php | 818 …protected function pStmt_TraitUseAdaptation_Precedence(Stmt\TraitUseAdaptation\Precedence $node): … 823 protected function pStmt_TraitUseAdaptation_Alias(Stmt\TraitUseAdaptation\Alias $node): string {
|
Completed in 40 milliseconds