Lines Matching refs:Node
5 use PhpParser\Node; alias
6 use PhpParser\Node\Expr;
7 use PhpParser\Node\Name;
8 use PhpParser\Node\Stmt;
9 use PhpParser\Node\Stmt\Class_;
114 public static function fromNode(Node $node): SimpleType {
115 if ($node instanceof Node\Name) {
128 if ($node instanceof Node\Identifier) {
254 public static function fromNode(Node $node): Type {
255 if ($node instanceof Node\UnionType) {
258 if ($node instanceof Node\NullableType) {
1087 Node\FunctionLike $func,