pQuery\HtmlParser::parse_comment PHP Метод

parse_comment() публичный Метод

public parse_comment ( )
    function parse_comment()
    {
        if (!parent::parse_comment()) {
            return false;
        }
        //end($this->hierarchy)->addComment($this->status['comment']);
        $index = null;
        //Needs to be passed by ref
        $this->hierarchy[count($this->hierarchy) - 1]->addComment($this->status['comment'], $index);
        return true;
    }