Home
last modified time | relevance | path

Searched refs:count (Results 1 – 25 of 30) sorted by relevance

12

/PHP-Parser/
H A Dphpstan-baseline.neon5 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 DParentConnectingVisitor.php9 use function count; alias
29 $node->setAttribute('parent', $this->stack[count($this->stack) - 1]);
H A DNodeConnectingVisitor.php35 $node->setAttribute('parent', $this->stack[count($this->stack) - 1]);
/PHP-Parser/lib/PhpParser/Internal/
H A DTokenStream.php89 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 DDiffer.php63 $n = \count($old);
64 $m = \count($new);
100 for ($d = \count($trace) - 1; $d >= 0; $d--) {
144 $c = \count($diff);
H A DTokenPolyfill.php132 $numTokens = \count($origTokens);
/PHP-Parser/test/PhpParser/
H A DNodeVisitorForTesting.php33 if ($this->returnsPos < count($this->returns)) {
44 if ($this->returnsPos !== count($this->returns)) {
H A DLexerTest.php26 $this->assertCount(count($messages), $errors);
27 for ($i = 0; $i < count($messages); $i++) {
H A DCodeTestAbstract.php18 $dataSetName = $shortName . (count($parts) > 1 ? '#' . $i : '');
H A DNameContextTest.php28 $expectedShortName = $expectedPossibleNames[count($expectedPossibleNames) - 1];
/PHP-Parser/test_old/
H A Drun.php54 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 DNullsafeTokenEmulator.php20 for ($i = 0, $c = count($tokens); $i < $c; ++$i) {
48 $c += \count($replacement) - 1;
H A DAsymmetricVisibilityTokenEmulator.php25 for ($i = 0, $c = count($tokens); $i < $c; ++$i) {
50 for ($i = 0, $c = count($tokens); $i < $c; ++$i) {
H A DAttributeEmulator.php20 for ($i = 0, $c = count($tokens); $i < $c; ++$i) {
H A DExplicitOctalEmulator.php18 for ($i = 0, $c = count($tokens); $i < $c; ++$i) {
/PHP-Parser/lib/PhpParser/Node/Expr/
H A DCallLike.php23 return count($rawArgs) === 1 && current($rawArgs) instanceof VariadicPlaceholder;
/PHP-Parser/lib/PhpParser/
H A DNodeAbstract.php118 for ($i = count($comments) - 1; $i >= 0; $i--) {
137 for ($i = count($comments) - 1; $i >= 0; $i--) {
H A DParserAbstract.php459 if (count($expected) === 4) {
498 if ($tokenPos < \count($this->tokens) - 1) {
625 $lastStmt = $stmt->stmts[count($stmt->stmts) - 1];
860 assert(count($contents) > 0);
871 $isLast = $i === \count($contents) - 1;
950 $this->tokenPos = \count($this->tokens) - 2;
1004 $numStmts = \count($node->stmts);
1199 if (\count($args) === 0) {
1202 if (\count($args) === 1) {
1218 return new Expr\Exit_(\count($args) === 1 ? $args[0]->value : null, $attrs);
H A DLexer.php76 $numTokens = \count($tokens);
H A DPrettyPrinterAbstract.php301 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 DNodeTraverser.php78 for ($i = \count($this->visitors) - 1; $i >= 0; --$i) {
/PHP-Parser/lib/PhpParser/Lexer/
H A DEmulative.php126 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 DphpyLang.php134 if ($num != count($args)) {
/PHP-Parser/lib/PhpParser/Node/
H A DName.php185 $numParts = \count($parts);
/PHP-Parser/tools/fuzzing/
H A Dtarget.php58 while (!empty($node->items) && $node->items[count($node->items) - 1] === null) {

Completed in 80 milliseconds

12