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
CloneableInstantiable
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() : void Skips next whitespace if any. |
Properties |
private int $cursor = 0 |
private ?Symfony |
private bool $peeking = false |
private array $tokens = []
|
private array $used = []
|