pQuery\HtmlParserBase::parse_asp PHP Метод

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

Parse asp tags
public parse_asp ( ) : boolean
Результат boolean
    function parse_asp()
    {
        $start = $this->pos;
        if ($this->next_pos('%>', false) !== self::TOK_UNKNOWN) {
            $this->pos -= 2;
            //End of file
        }
        $len = $this->pos - 1 - $start;
        $this->status['text'] = $len > 0 ? substr($this->doc, $start + 1, $len) : '';
        $this->status['last_pos'] = ++$this->pos;
        return true;
    }