Lines Matching refs:node
71 public function enterNode(Node $node): void { argument
72 $startLine = $node->getStartLine();
73 $endLine = $node->getEndLine();
74 $startFilePos = $node->getStartFilePos();
75 $endFilePos = $node->getEndFilePos();
76 $startTokenPos = $node->getStartTokenPos();
77 $endTokenPos = $node->getEndTokenPos();
82 throw new \Exception('Missing location information on ' . $node->getType());
91 if (!$node instanceof Stmt\Nop && !$node instanceof Expr\Error &&
92 !$node instanceof Node\Param
94 throw new \Exception('End < start on ' . $node->getType());