Пример #1
0
 public function getLineAndColumn(SourceFileInterface $file)
 {
     return $file->getLineAndColumn($this->getOffset());
 }
Пример #2
0
 public function getOffset(SourceFileInterface $file)
 {
     return $file->getOffset($this->line, $this->col);
 }