index() that couldn't * match $input->LT(1)? * * @var ATNConfigSet|null */ private $deadEndConfigs; public function __construct( Parser $recognizer, ?TokenStream $input = null, ?Token $startToken = null, ?Token $offendingToken = null, ?ATNConfigSet $deadEndConfigs = null, ?ParserRuleContext $ctx = null ) { if ($ctx === null) { $ctx = $recognizer->getContext(); } if ($offendingToken === null) { $offendingToken = $recognizer->getCurrentToken(); } if ($startToken === null) { $startToken = $recognizer->getCurrentToken(); } if ($input === null) { $input = $recognizer->getInputStream(); } parent::__construct($recognizer, $input, $ctx); $this->deadEndConfigs = $deadEndConfigs; $this->startToken = $startToken; $this->setOffendingToken($offendingToken); } public function getStartToken() : ?Token { return $this->startToken; } public function getDeadEndConfigs() : ?ATNConfigSet { return $this->deadEndConfigs; } }