PDepend\Source\Language\PHP\AbstractPHPParser::parseForUpdate PHP Метод

parseForUpdate() приватный Метод

------------------------------- for ($x = 0, $y = 23, $z = 42; $x < $y; ++$x, $y = $x + 1, $z = $x + 2) } -------------------------------
С версии: 0.9.12
private parseForUpdate ( ) : PDepend\Source\AST\ASTForUpdate
Результат PDepend\Source\AST\ASTForUpdate
    private function parseForUpdate()
    {
        $this->consumeComments();
        if (Tokens::T_PARENTHESIS_CLOSE === $this->tokenizer->peek()) {
            return null;
        }
        $this->tokenStack->push();
        $update = $this->builder->buildAstForUpdate();
        $this->parseExpressionList($update);
        return $this->setNodePositionsAndReturn($update);
    }
AbstractPHPParser