PHP Class pQuery\CSSQueryTokenizer

Inheritance: extends TokenizerBase
Datei anzeigen Open project: tburry/pquery

Public Properties

Property Type Description
$custom_char_map Map characters to match their tokens
$identifiers Sets query identifiers

Protected Methods

Method Description
parse_compare ( ) : integer Parse several compare characters
parse_gt ( ) : integer Parse ">" character
parse_not ( ) : integer Parse "!" character
parse_pipe ( ) : integer Parse "|" character
parse_sibling ( ) : integer Parse "~" character
parse_star ( ) : integer Parse "*" character
parse_string ( ) : integer Parse strings (" and ')

Method Details

parse_compare() protected method

Parse several compare characters
protected parse_compare ( ) : integer
return integer

parse_gt() protected method

Parse ">" character
protected parse_gt ( ) : integer
return integer

parse_not() protected method

Parse "!" character
protected parse_not ( ) : integer
return integer

parse_pipe() protected method

Parse "|" character
protected parse_pipe ( ) : integer
return integer

parse_sibling() protected method

Parse "~" character
protected parse_sibling ( ) : integer
return integer

parse_star() protected method

Parse "*" character
protected parse_star ( ) : integer
return integer

parse_string() protected method

Parse strings (" and ')
protected parse_string ( ) : integer
return integer

Property Details

$custom_char_map public_oe property

Map characters to match their tokens
See also: TokenizerBase::$custom_char_map
public $custom_char_map

$identifiers public_oe property

Sets query identifiers
See also: TokenizerBase::$identifiers
public $identifiers