index = -1; $this->line = 0; $this->charPos = -1; $this->dfaState = null; } public function getIndex() : int { return $this->index; } public function setIndex(int $index) : void { $this->index = $index; } public function getLine() : int { return $this->line; } public function setLine(int $line) : void { $this->line = $line; } public function getCharPos() : int { return $this->charPos; } public function setCharPos(int $charPos) : void { $this->charPos = $charPos; } public function getDfaState() : ?DFAState { return $this->dfaState; } public function setDfaState(?DFAState $dfaState) : void { $this->dfaState = $dfaState; } }