/PHP-Parser/ |
H A D | phpstan-baseline.neon | 5 count: 1 10 count: 1 15 count: 1 20 count: 1 25 count: 1 30 count: 1 35 count: 1 40 count: 1 45 count: 1 50 count: 1 [all …]
|
/PHP-Parser/lib/PhpParser/NodeVisitor/ |
H A D | ParentConnectingVisitor.php | 9 use function count; alias 29 $node->setAttribute('parent', $this->stack[count($this->stack) - 1]);
|
H A D | NodeConnectingVisitor.php | 35 $node->setAttribute('parent', $this->stack[count($this->stack) - 1]);
|
/PHP-Parser/lib/PhpParser/Internal/ |
H A D | TokenStream.php | 89 for ($c = \count($tokens); $pos < $c; $pos++) { 161 for ($count = \count($tokens); $pos < $count; $pos++) { 172 for ($count = \count($tokens); $pos < $count; $pos++) {
|
H A D | Differ.php | 63 $n = \count($old); 64 $m = \count($new); 100 for ($d = \count($trace) - 1; $d >= 0; $d--) { 144 $c = \count($diff);
|
H A D | TokenPolyfill.php | 132 $numTokens = \count($origTokens);
|
/PHP-Parser/test/PhpParser/ |
H A D | NodeVisitorForTesting.php | 33 if ($this->returnsPos < count($this->returns)) { 44 if ($this->returnsPos !== count($this->returns)) {
|
H A D | LexerTest.php | 26 $this->assertCount(count($messages), $errors); 27 for ($i = 0; $i < count($messages); $i++) {
|
H A D | CodeTestAbstract.php | 18 $dataSetName = $shortName . (count($parts) > 1 ? '#' . $i : '');
|
H A D | NameContextTest.php | 28 $expectedShortName = $expectedPossibleNames[count($expectedPossibleNames) - 1];
|
/PHP-Parser/test_old/ |
H A D | run.php | 54 if (count($arguments) !== 2) { 149 $parseFail = $fpppFail = $ppFail = $compareFail = $count = 0; variable 173 ++$count; 176 …echo substr(str_pad('Testing file ' . $count . ': ' . substr($file, strlen($dir)), 79), 0, 79), "\… 262 'Tested files: ', $count, "\n",
|
/PHP-Parser/lib/PhpParser/Lexer/TokenEmulator/ |
H A D | NullsafeTokenEmulator.php | 20 for ($i = 0, $c = count($tokens); $i < $c; ++$i) { 48 $c += \count($replacement) - 1;
|
H A D | AsymmetricVisibilityTokenEmulator.php | 25 for ($i = 0, $c = count($tokens); $i < $c; ++$i) { 50 for ($i = 0, $c = count($tokens); $i < $c; ++$i) {
|
H A D | AttributeEmulator.php | 20 for ($i = 0, $c = count($tokens); $i < $c; ++$i) {
|
H A D | ExplicitOctalEmulator.php | 18 for ($i = 0, $c = count($tokens); $i < $c; ++$i) {
|
/PHP-Parser/lib/PhpParser/Node/Expr/ |
H A D | CallLike.php | 23 return count($rawArgs) === 1 && current($rawArgs) instanceof VariadicPlaceholder;
|
/PHP-Parser/lib/PhpParser/ |
H A D | NodeAbstract.php | 118 for ($i = count($comments) - 1; $i >= 0; $i--) { 137 for ($i = count($comments) - 1; $i >= 0; $i--) {
|
H A D | ParserAbstract.php | 461 if (count($expected) === 4) { 500 if ($tokenPos < \count($this->tokens) - 1) { 627 $lastStmt = $stmt->stmts[count($stmt->stmts) - 1]; 862 assert(count($contents) > 0); 873 $isLast = $i === \count($contents) - 1; 952 $this->tokenPos = \count($this->tokens) - 2; 1006 $numStmts = \count($node->stmts); 1201 if (\count($args) === 0) { 1204 if (\count($args) === 1) { 1220 return new Expr\Exit_(\count($args) === 1 ? $args[0]->value : null, $attrs);
|
H A D | Lexer.php | 76 $numTokens = \count($tokens);
|
H A D | PrettyPrinterAbstract.php | 301 if ($stmts[count($stmts) - 1] instanceof Stmt\InlineHTML) { 503 $lastIdx = count($nodes) - 1; 574 $result .= $this->origTokens->getTokenCode($pos, count($origTokens) - 1, 0); 800 if ($isStmtList && \count($origNodes) === 1 && \count($nodes) !== 1) { 1245 if (\count($nodes) < 2) {
|
H A D | NodeTraverser.php | 78 for ($i = \count($this->visitors) - 1; $i >= 0; --$i) {
|
/PHP-Parser/lib/PhpParser/Lexer/ |
H A D | Emulative.php | 126 if (\count($this->patches) === 0) { 137 for ($i = 0, $c = \count($tokens); $i < $c; $i++) { 178 if ($patchIdx >= \count($this->patches)) {
|
/PHP-Parser/grammar/ |
H A D | phpyLang.php | 134 if ($num != count($args)) {
|
/PHP-Parser/lib/PhpParser/Node/ |
H A D | Name.php | 185 $numParts = \count($parts);
|
/PHP-Parser/tools/fuzzing/ |
H A D | target.php | 58 while (!empty($node->items) && $node->items[count($node->items) - 1] === null) {
|