Lines Matching refs:Node
3 namespace PhpParser\Node\Stmt;
5 use PhpParser\Node; alias
6 use PhpParser\Node\FunctionLike;
8 class Function_ extends Node\Stmt implements FunctionLike {
11 /** @var Node\Identifier Name */
12 public Node\Identifier $name;
13 /** @var Node\Param[] Parameters */
15 /** @var null|Node\Identifier|Node\Name|Node\ComplexType Return type */
16 public ?Node $returnType;
17 /** @var Node\Stmt[] Statements */
19 /** @var Node\AttributeGroup[] PHP attribute groups */
22 /** @var Node\Name|null Namespaced name (if using NameResolver) */
23 public ?Node\Name $namespacedName;
28 * @param string|Node\Identifier $name Name
46 $this->name = \is_string($name) ? new Node\Identifier($name) : $name;
73 /** @return Node\Stmt[] */