PDepend\Source\Language\PHP\AbstractPHPParser::parsePreIncrementExpression PHP Method

parsePreIncrementExpression() private method

Parses a pre increment-expression and adds the given child to that node.
Since: 0.10.0
private parsePreIncrementExpression ( ) : PDepend\Source\AST\ASTPreIncrementExpression
return PDepend\Source\AST\ASTPreIncrementExpression
    private function parsePreIncrementExpression()
    {
        $token = $this->consumeToken(Tokens::T_INC);
        $expr = $this->builder->buildAstPreIncrementExpression();
        $expr->configureLinesAndColumns($token->startLine, $token->endLine, $token->startColumn, $token->endColumn);
        return $expr;
    }
AbstractPHPParser