Home
last modified time | relevance | path

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

/plugin/combo/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;
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/Tree/ !
H A DTerminalNodeImpl.php58 $tokenIndex = $this->symbol->getTokenIndex();
60 return new Interval($tokenIndex, $tokenIndex);
/plugin/dirtylittlehelper/mermaid/editor/docs/ !
Dbundle.js.map1tokenIndex = 0, tokensLen = tokens.getCount(); tokenIndex < tokensLen; tokenIndex++) {\n …
/plugin/mermaid/ !
H A Dmermaid.min.js818 …ps.clear(),{tokens:this.tokens,elementStack:[...this.lastElementStack],tokenIndex:this.nextTokenIn…