Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
srv
/
data
/
web
/
vhosts
/
www.shinegis.mu
/
htdocs
/
functions
/
scssphp
/
src
/
SourceSpan
/
/srv/data/web/vhosts/www.shinegis.mu/htdocs/functions/scssphp/src/SourceSpan/SourceLocation.php
<?php /** * SCSSPHP * * @copyright 2012-2020 Leaf Corcoran * * @license http://opensource.org/licenses/MIT MIT * * @link http://scssphp.github.io/scssphp */ namespace ScssPhp\ScssPhp\SourceSpan; /** * @internal */ final class SourceLocation { /** * @var SourceFile * @readonly */ private $file; /** * @var int * @readonly */ private $offset; public function __construct(SourceFile $file, int $offset) { $this->file = $file; $this->offset = $offset; } public function getFile(): SourceFile { return $this->file; } public function getOffset(): int { return $this->offset; } public function getLine(): int { return $this->file->getLine($this->offset); } public function getColumn(): int { return $this->file->getColumn($this->offset); } }