Lines Matching refs:Node
3 namespace PhpParser\Node\Stmt\TraitUseAdaptation;
5 use PhpParser\Node; alias
7 class Alias extends Node\Stmt\TraitUseAdaptation {
10 /** @var null|Node\Identifier New name */
11 public ?Node\Identifier $newName;
16 * @param null|Node\Name $trait Trait name
17 * @param string|Node\Identifier $method Method name
19 * @param null|string|Node\Identifier $newName New name
22 …public function __construct(?Node\Name $trait, $method, ?int $newModifier, $newName, array $attrib…
25 $this->method = \is_string($method) ? new Node\Identifier($method) : $method;
27 $this->newName = \is_string($newName) ? new Node\Identifier($newName) : $newName;