protected function lexDirective()
    {
        if (empty($this->brackets)) {
            $this->addCode(' ?>');
            $this->popState();
        } else {
            $this->lexExpression();
        }
    }