Lines Matching refs:Node
6 use PhpParser\Node; alias
7 use PhpParser\Node\Expr;
8 use PhpParser\Node\Name;
9 use PhpParser\Node\Stmt;
10 use PhpParser\Node\Stmt\Class_;
11 use PhpParser\Node\Stmt\Enum_;
12 use PhpParser\Node\Stmt\Interface_;
13 use PhpParser\Node\Stmt\Trait_;
168 public static function fromNode(Node $node): SimpleType {
169 if ($node instanceof Node\Name) {
183 if ($node instanceof Node\Identifier) {
416 public static function fromNode(Node $node): Type {
417 if ($node instanceof Node\UnionType) {
421 if ($node instanceof Node\NullableType) {
2230 Node\FunctionLike $func,
2377 ?Node $type,