Home
last modified time | relevance | path

Searched refs:ParseTree (Results 1 – 10 of 10) sorted by relevance

/template/strap/vendor/antlr/antlr4-php-runtime/src/
H A DParserRuleContext.php9 use Antlr\Antlr4\Runtime\Tree\ParseTree; alias
107 public function addTerminalNode(TerminalNode $t) : ParseTree
114 public function addErrorNode(ErrorNode $errorNode) : ParseTree
131 public function addChild(ParseTree $child) : ParseTree
163 * @return ParseTree|null
226 public function getTypedRuleContext(string $ctxType, int $i) : ?ParseTree
H A DRuleContext.php8 use Antlr\Antlr4\Runtime\Tree\ParseTree; alias
191 * @return ParseTree|null
/template/strap/vendor/antlr/antlr4-php-runtime/src/Tree/
H A DParseTree.php9 interface ParseTree extends SyntaxTree interface
12 * @return ParseTree|null
17 * @return ParseTree|null
H A DTrees.php124 public static function findAllTokenNodes(ParseTree $tree, int $ttype) : array
132 public static function findAllRuleNodes(ParseTree $tree, int $ruleIndex) : array
140 public static function findAllNodes(ParseTree $tree, int $index, bool $findTokens) : array
150 …private static function findNodesInTree(ParseTree $tree, int $index, bool $findTokens, array $node…
174 public static function descendants(ParseTree $tree) : array
H A DParseTreeVisitor.php17 * @param ParseTree $tree The {@see ParseTree} to visit.
19 public function visit(ParseTree $tree);
H A DAbstractParseTreeVisitor.php16 public function visit(ParseTree $tree)
49 /** @var ParseTree $child */
H A DTerminalNodeImpl.php16 /** @var ParseTree|null */
35 * @return ParseTree|null
H A DRuleNode.php9 interface RuleNode extends ParseTree
H A DTerminalNode.php9 interface TerminalNode extends ParseTree
H A DParseTreeWalker.php18 public function walk(ParseTreeListener $listener, ParseTree $tree) : void