Searched refs:getSymbol (Results 1 – 6 of 6) sorted by relevance
71 if ($tree instanceof TerminalNode && $tree->getSymbol() !== null) {72 return $tree->getSymbol()->getText() ?? '';153 … if ($findTokens && $tree instanceof TerminalNode && $tree->getSymbol()->getType() === $index) {
11 public function getSymbol() : Token; function
29 public function getSymbol() : Token function in Antlr\\Antlr4\\Runtime\\Tree\\TerminalNodeImpl
195 if ($child instanceof TerminalNode && $child->getSymbol()->getType() === $ttype) {218 if ($child instanceof TerminalNode && $child->getSymbol()->getType() === $ttype) {
37 $node->getSymbol(),
112 $type = $node->getSymbol()->getType();304 $charPosition = $node->getSymbol()->getStartIndex();484 $token = $node->getSymbol();