Home
last modified time | relevance | path

Searched refs:tokenIndex (Results 1 – 4 of 4) sorted by relevance

/template/strap/vendor/antlr/antlr4-php-runtime/src/
H A DBufferedTokenStream.php376 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, \count($this->tokens) - 1));
407 … $prevOnChannel = $this->previousTokenOnChannel($tokenIndex - 1, Lexer::DEFAULT_TOKEN_CHANNEL);
409 if ($prevOnChannel === $tokenIndex - 1) {
[all …]
H A DCommonToken.php256 public function setTokenIndex(int $tokenIndex) : void argument
258 $this->index = $tokenIndex;
/template/strap/vendor/antlr/antlr4-php-runtime/src/Tree/
H A DTerminalNodeImpl.php58 $tokenIndex = $this->symbol->getTokenIndex();
60 return new Interval($tokenIndex, $tokenIndex);
/template/scanlines/htc/PIE-1.0beta5/
DPIE_uncompressed.js943 this.tokenIndex = 0;
1020 me.tokenIndex++;
1025 me.tokenIndex++;
1030 if( this.tokenIndex < this.tokens.length ) {
1031 return this.tokens[ this.tokenIndex++ ];
1164 return this.tokens[ this.tokenIndex-- - 2 ];