[ Index ]

PHP Cross Reference of DokuWiki




/_test/vendor/symfony/css-selector/Parser/ -> TokenStream.php (summary)

(no description)

File Size: 171 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

TokenStream:: (8 methods):

Class: TokenStream  - X-Ref

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.

push(Token $token)   X-Ref
Pushes a token.

return: $this

freeze()   X-Ref
Freezes stream.

return: $this

getNext()   X-Ref
Returns next token.

getPeek()   X-Ref
Returns peeked token.

getUsed()   X-Ref
Returns used tokens.

return: Token[]

getNextIdentifier()   X-Ref
Returns nex identifier token.

return: string The identifier token value

getNextIdentifierOrStar()   X-Ref
Returns nex identifier or star delimiter token.

return: string|null The identifier token value or null if star found

skipWhitespace()   X-Ref
Skips next whitespace if any.