Home
last modified time | relevance | path

Searched refs:ttype (Results 1 – 8 of 8) sorted by relevance

/template/strap/vendor/antlr/antlr4-php-runtime/src/
H A DParserRuleContext.php188 public function getToken(int $ttype, int $i) : ?TerminalNode argument
195 if ($child instanceof TerminalNode && $child->getSymbol()->getType() === $ttype) {
210 public function getTokens(int $ttype) : array argument
218 if ($child instanceof TerminalNode && $child->getSymbol()->getType() === $ttype) {
H A DWritableToken.php11 public function setType(int $ttype) : void; argument
H A DLexer.php185 $ttype = self::SKIP;
187 $ttype = $this->interp->match($this->input, $this->mode);
198 $this->type = $ttype;
H A DParser.php162 * @param int $ttype the token type to match.
171 public function match(int $ttype) : Token argument
175 if ($t !== null && $t->getType() === $ttype) {
176 if ($ttype === Token::EOF) {
/template/strap/vendor/antlr/antlr4-php-runtime/src/Tree/
H A DTrees.php124 public static function findAllTokenNodes(ParseTree $tree, int $ttype) : array argument
126 return self::findAllNodes($tree, $ttype, true);
/template/strap/vendor/antlr/antlr4-php-runtime/src/Error/
H A DDefaultErrorStrategy.php894 $ttype = $inputStream->LA(1);
896 while ($ttype !== Token::EOF && !$set->contains($ttype)) {
898 $ttype = $inputStream->LA(1);
/template/strap/vendor/antlr/antlr4-php-runtime/src/Atn/
H A DATNDeserializer.php399 $ttype = $this->readInt();
403 $trans = $this->edgeFactory($atn, $ttype, $src, $trg, $arg1, $arg2, $arg3, $sets);
H A DParserATNSimulator.php1302 protected function getReachableTarget(Transition $trans, int $ttype) : ?ATNState argument
1304 return $trans->matches($ttype, 0, $this->atn->maxTokenType) ? $trans->target : null;