Home
last modified time | relevance | path

Searched refs:TraitUseAdaptation (Results 1 – 16 of 16) sorted by relevance

/PHP-Parser/test/PhpParser/Builder/
H A DTraitUseTest.php30 ->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 DTraitUseAdaptationTest.php12 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 DTraitUse.php10 /** @var TraitUseAdaptation[] Adaptations */
17 * @param TraitUseAdaptation[] $adaptations Adaptations
H A DTraitUseAdaptation.php7 abstract class TraitUseAdaptation extends Node\Stmt { class
/PHP-Parser/lib/PhpParser/Node/Stmt/TraitUseAdaptation/
H A DPrecedence.php3 namespace PhpParser\Node\Stmt\TraitUseAdaptation;
7 class Precedence extends Node\Stmt\TraitUseAdaptation {
H A DAlias.php3 namespace PhpParser\Node\Stmt\TraitUseAdaptation;
7 class Alias extends Node\Stmt\TraitUseAdaptation {
/PHP-Parser/lib/PhpParser/Builder/
H A DTraitUseAdaptation.php11 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 DTraitUse.php49 if (!$adaptation instanceof Stmt\TraitUseAdaptation) {
/PHP-Parser/
H A DUPGRADE-4.0.md38 * `Stmt\TraitUseAdaptation\Alias::$method`
39 * `Stmt\TraitUseAdaptation\Alias::$newName`
40 * `Stmt\TraitUseAdaptation\Precedence::$method`
/PHP-Parser/lib/PhpParser/
H A DBuilderFactory.php101 public function traitUseAdaptation($trait, $method = null): Builder\TraitUseAdaptation {
107 return new Builder\TraitUseAdaptation($trait, $method);
H A DPrettyPrinterAbstract.php1546 Stmt\TraitUseAdaptation\Precedence::class . '->insteadof' => ', ',
/PHP-Parser/grammar/
H A Dphp.y873 { $$ = 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 DNameResolver.php159 if ($adaptation instanceof Stmt\TraitUseAdaptation\Precedence) {
/PHP-Parser/lib/PhpParser/Parser/
H A DPhp7.php2033 …$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 DPhp8.php2032 …$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 DStandard.php818 …protected function pStmt_TraitUseAdaptation_Precedence(Stmt\TraitUseAdaptation\Precedence $node): …
823 protected function pStmt_TraitUseAdaptation_Alias(Stmt\TraitUseAdaptation\Alias $node): string {

Completed in 56 milliseconds