FOF30\Less\Parser\Parser::parenValue PHP Method

parenValue() protected method

[parenValue description]
protected parenValue ( &$out ) : boolean
return boolean
    protected function parenValue(&$out)
    {
        $s = $this->seek();
        // Speed shortcut
        if (isset($this->buffer[$this->count]) && $this->buffer[$this->count] != "(") {
            return false;
        }
        $inParens = $this->inParens;
        if ($this->literal("(") && ($this->inParens = true) && $this->expression($exp) && $this->literal(")")) {
            $out = $exp;
            $this->inParens = $inParens;
            return true;
        } else {
            $this->inParens = $inParens;
            $this->seek($s);
        }
        return false;
    }