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

parseLogicalAndExpression() protected method

This method parses a logical and-expression.
Since: 0.9.8
protected parseLogicalAndExpression ( ) : PDepend\Source\AST\ASTLogicalAndExpression
return PDepend\Source\AST\ASTLogicalAndExpression
    protected function parseLogicalAndExpression()
    {
        $token = $this->consumeToken(Tokens::T_LOGICAL_AND);
        $expr = $this->builder->buildAstLogicalAndExpression();
        $expr->configureLinesAndColumns($token->startLine, $token->endLine, $token->startColumn, $token->endColumn);
        return $expr;
    }
AbstractPHPParser