Searched refs:tokenIndex (Results 1 – 4 of 4) sorted by relevance
376 public function getHiddenTokensToRight(int $tokenIndex, int $channel) : ?array argument 380 if ($tokenIndex < 0 || $tokenIndex >= \count($this->tokens)) {381 throw new \RuntimeException(\sprintf('%d not in 0..%d', $tokenIndex, \count($this->tokens) - 1));384 $nextOnChannel = $this->nextTokenOnChannel($tokenIndex + 1, Lexer::DEFAULT_TOKEN_CHANNEL);385 $from_ = $tokenIndex + 1;399 public function getHiddenTokensToLeft(int $tokenIndex, int $channel) : ?array argument 403 if ($tokenIndex < 0 || $tokenIndex >= \count($this->tokens)) {404 throw new \RuntimeException(\sprintf('%d not in 0..%d', $tokenIndex, \coun[all...]
256 public function setTokenIndex(int $tokenIndex) : void argument 258 $this->index = $tokenIndex;
58 $tokenIndex = $this->symbol->getTokenIndex();60 return new Interval($tokenIndex, $tokenIndex);
1 …tokenIndex = 0, tokensLen = tokens.getCount(); tokenIndex < tokensLen; tokenIndex++) {\n …