Lines Matching refs:count

64                 if (count($this->args()) == 0) {
163 $arg->printTree($indentStr . $extraIndentStr, $argIdx == count($this->args()));
190 if (count($this->args()) > 1) {
217 if (count($this->args()) == 0) {
283 if (count($this->tokenDefs()) != 1) {
291 if (count($this->tokenDefs()) != 1 && count($this->tokenDefs()) != $this->arity()) {
299 if (count($this->tokenDefs()) != 1 && count($this->tokenDefs()) != $this->arity()) {
307 … if (count($this->tokenDefs()) != 1 && count($this->tokenDefs()) != $this->arity() - 1) {
315 if (count($this->tokenDefs()) != 2) {
337 for ($lastFound = $position; $lastFound < count($args); $lastFound += 2) {
352 …for ($lastFound = $position; $lastFound < count($args) && $tokDefIdx < count($tokDefs); $lastFound…
359 return ($tokDefIdx == count($tokDefs));
363 if (count($tokDefs) != 2) {
371 for ($i = $position + 1; $i < count($args); ++$i) {
385 for ($i = $position; $i < count($args) && count($retval) < $length; $i += 2) {
397 if ($firstTokPosition + $chainLength * 2 > count($args)) {
412 } elseif ($firstTokPosition + $chainLength * 2 - 1 > count($args)) {
427 } elseif ($firstTokPosition + $chainLength * 2 > count($args)) {
441 if ($firstTokPosition + $sequenceLength > count($args)) {
454 if ($firstTokPosition + 1 > count($args)) {
476 } else if (count($this->tokenDefs()) == 1) {
494 } else if (count($this->tokenDefs()) == 1) {
512 } else if (count($this->tokenDefs()) == 1) {
537 for ($i = 0; $i < count($args); ++$i) {
555 if ($idx < count($this->tokenDefs())) {
557 } elseif (count($this->tokenDefs()) == 1) {
584 …if ($argIdx >= count($argsRepr) || ($this->fixing() == Fixing::Infix && $argIdx >= count($argsRepr…
611 if (count($args) != 1) {
623 if (count($args) < 1 && $this->fixing() == Fixing::Infix) {
625 } elseif (count($args) == 0) {
628 } elseif (count($args) != $this->arity()) {