W3cubDocs

/Symfony 4.1

Tokenizer

class Tokenizer

CSS selector tokenizer.

This component is a port of the Python cssselect library, which is copyright Ian Bicking, see https://github.com/SimonSapin/cssselect.

Methods

__construct()
TokenStream tokenize(Reader $reader)

Tokenize selector source code.

Details

__construct()

TokenStream tokenize(Reader $reader)

Tokenize selector source code.

Parameters

Reader $reader

Return Value

TokenStream

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/CssSelector/Parser/Tokenizer/Tokenizer.html