CSS selector token stream.
This component is a port of the Python cssselect library,
which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect.
- author Jean-François Simon
- internal
Cloneable
Instantiable
Methods |
public
freeze
() :
static
Freezes stream.
|
public
getNext
() :
Symfony Returns next token.
|
public
getNextIdentifier
() :
string
Returns next identifier token.
|
public
getNextIdentifierOrStar
() : ?
string
Returns next identifier or null if star delimiter token is found.
|
public
getPeek
() :
Symfony Returns peeked token. |
public
getUsed
() :
array
Returns used tokens. |
public
push
(
Symfony Pushes a token.
|
public
skipWhitespace
() Skips next whitespace if any. |
Properties |
private int $cursor |
private
Symfony |
private bool $peeking |
private array $tokens |
private array $used |