Lines Matching refs:opener
1694 $opener = array_pop($openers);
1695 if (isset($tokens[$opener]['parenthesis_owner']) === true) {
1696 $owner = $tokens[$opener]['parenthesis_owner'];
1702 $tokens[$i]['parenthesis_opener'] = $opener;
1704 $tokens[$opener]['parenthesis_closer'] = $i;
1735 $opener = array_pop($squareOpeners);
1736 $tokens[$i]['bracket_opener'] = $opener;
1738 $tokens[$opener]['bracket_opener'] = $opener;
1739 $tokens[$opener]['bracket_closer'] = $i;
1744 echo "\t=> Found square bracket closer at $i for $opener".PHP_EOL;
1752 $opener = array_pop($curlyOpeners);
1753 $tokens[$i]['bracket_opener'] = $opener;
1755 $tokens[$opener]['bracket_opener'] = $opener;
1756 $tokens[$opener]['bracket_closer'] = $i;
1761 echo "\t=> Found curly bracket closer at $i for $opener".PHP_EOL;
1772 foreach ($openers as $opener) {
1773 unset($tokens[$opener]['parenthesis_opener']);
1774 unset($tokens[$opener]['parenthesis_owner']);
1908 $opener = null;
1920 $opener = $stackPtr;
1933 if ($opener !== null) {
1934 echo "opener:$opener;";
1951 && $opener === null
1963 if ($opener === null
1977 if ($opener !== null
1992 } else if ($tokens[$opener]['code'] === T_OPEN_CURLY_BRACKET
2007 $opener,
2043 … } else if ($tokens[$tokens[$scopeCloser]['scope_opener']]['code'] !== $tokens[$opener]['code']) {
2048 $openerType = $tokens[$opener]['type'];
2064 $tokens[$token]['scope_opener'] = $opener;
2072 return $opener;
2095 if ($opener === null) {
2188 && $opener === null
2251 && $opener === null
2306 $opener = $i;
2322 } else if ($tokenType === T_OPEN_CURLY_BRACKET && $opener !== null) {
2341 } else if ($opener === null
2369 } else if ($opener !== null
2393 foreach (array($stackPtr, $opener) as $token) {
2395 $tokens[$token]['scope_opener'] = $opener;
2486 $opener = $tokens[$lastOpener]['scope_condition'];
2488 … $isShared = isset($tokenizer->scopeOpeners[$thisType]['with'][$tokens[$opener]['code']]);
2491 reset($tokenizer->scopeOpeners[$tokens[$opener]['code']]['end']);
2492 …Openers[$thisType]['end']) === current($tokenizer->scopeOpeners[$tokens[$opener]['code']]['end']));
2495 $badToken = $opener;
2568 foreach (array_reverse($openers) as $opener) {
2569 if ($tokens[$opener]['scope_closer'] === $i) {
2783 $opener = $this->_tokens[$stackPtr]['parenthesis_opener'];
2788 $paramStart = ($opener + 1);
2841 for ($t = $i; $t >= $opener; $t--) {