getAttribute('ownerDocument')->getUri(), Range::fromNode($node)); } public function __construct(string $uri = null, Range $range = null) { $this->uri = $uri; $this->range = $range; } }