@@ 344-351 (lines=8) @@ | ||
341 | { |
|
342 | $this->_recurseEnter(); |
|
343 | $expr = $this->_parsePrimaryStart(); |
|
344 | while (true) { |
|
345 | if ($this->_getCurrentToken()->Id == ExpressionTokenId::SLASH) { |
|
346 | $this->_lexer->nextToken(); |
|
347 | $expr = $this->_parsePropertyAccess($expr); |
|
348 | } else { |
|
349 | break; |
|
350 | } |
|
351 | } |
|
352 | ||
353 | $this->_recurseLeave(); |
|
354 | return $expr; |
|
@@ 535-542 (lines=8) @@ | ||
532 | private function _parseArguments() |
|
533 | { |
|
534 | $argList = array(); |
|
535 | while (true) { |
|
536 | $argList[] = $this->_parseExpression(); |
|
537 | if ($this->_getCurrentToken()->Id != ExpressionTokenId::COMMA) { |
|
538 | break; |
|
539 | } |
|
540 | ||
541 | $this->_lexer->nextToken(); |
|
542 | } |
|
543 | ||
544 | return $argList; |
|
545 | } |