Searched refs:ttype (Results 1 – 8 of 8) sorted by relevance
| /template/strap/vendor/antlr/antlr4-php-runtime/src/ |
| H A D | ParserRuleContext.php | 188 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 D | WritableToken.php | 11 public function setType(int $ttype) : void; argument
|
| H A D | Lexer.php | 185 $ttype = self::SKIP; 187 $ttype = $this->interp->match($this->input, $this->mode); 198 $this->type = $ttype;
|
| H A D | Parser.php | 162 * @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 D | Trees.php | 124 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 D | DefaultErrorStrategy.php | 894 $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 D | ATNDeserializer.php | 399 $ttype = $this->readInt(); 403 $trans = $this->edgeFactory($atn, $ttype, $src, $trg, $arg1, $arg2, $arg3, $sets);
|
| H A D | ParserATNSimulator.php | 1302 protected function getReachableTarget(Transition $trans, int $ttype) : ?ATNState argument 1304 return $trans->matches($ttype, 0, $this->atn->maxTokenType) ? $trans->target : null;
|