pQuery\CSSQueryTokenizer::parse_sibling PHP 메소드

parse_sibling() 보호된 메소드

Parse "~" character
protected parse_sibling ( ) : integer
리턴 integer
    protected function parse_sibling()
    {
        if ($this->pos + 1 < $this->size && $this->doc[$this->pos + 1] === '=') {
            ++$this->pos;
            return $this->token = self::TOK_COMPARE_CONTAINS_WORD;
        } else {
            return $this->token = self::TOK_SIBLING;
        }
    }