Home
last modified time | relevance | path

Searched refs:findTokens (Results 1 – 3 of 3) sorted by relevance

/plugin/combo/vendor/antlr/antlr4-php-runtime/src/Tree/
H A DTrees.php140 public static function findAllNodes(ParseTree $tree, int $index, bool $findTokens) : array argument
142 return self::findNodesInTree($tree, $index, $findTokens, []);
150 private static function findNodesInTree(ParseTree $tree, int $index, bool $findTokens, array $nodes) : array argument
153 if ($findTokens && $tree instanceof TerminalNode && $tree->getSymbol()->getType() === $index) {
155 } elseif (!$findTokens && $tree instanceof ParserRuleContext && $tree->getRuleIndex() === $index) {
164 $nodes = self::findNodesInTree($child, $index, $findTokens, $nodes);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/Classes/
H A DDuplicateClassNameSniff.php63 $findTokens = array(
70 $stackPtr = $phpcsFile->findNext($findTokens, ($stackPtr + 1));
121 $stackPtr = $phpcsFile->findNext($findTokens, ($stackPtr + 1));
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/Functions/
H A DCallTimePassByReferenceSniff.php60 $findTokens = array_merge(
65 $prev = $phpcsFile->findPrevious($findTokens, ($stackPtr - 1), null, true);