Get 1-based end line number of the token.
public function getEndLine() : int { return $this->line + \substr_count($this->text, "\n"); }