interface ParserInterface
CSS selector parser interface.
This component is a port of the Python cssselect library, which is copyright Ian Bicking, @author Jean-François Simon <jeanfrancois.simon@sensiolabs.com>
@internal
Hierarchy
- interface \Symfony\Component\CssSelector\Parser\ParserInterface
Expanded class hierarchy of ParserInterface
All classes that implement ParserInterface
See also
https://github.com/SimonSapin/cssselect.
5 files declare their use of ParserInterface
- ClassParser.php in vendor/
symfony/ css-selector/ Parser/ Shortcut/ ClassParser.php - ElementParser.php in vendor/
symfony/ css-selector/ Parser/ Shortcut/ ElementParser.php - EmptyStringParser.php in vendor/
symfony/ css-selector/ Parser/ Shortcut/ EmptyStringParser.php - HashParser.php in vendor/
symfony/ css-selector/ Parser/ Shortcut/ HashParser.php - Translator.php in vendor/
symfony/ css-selector/ XPath/ Translator.php
File
-
vendor/
symfony/ css-selector/ Parser/ ParserInterface.php, line 26
Namespace
Symfony\Component\CssSelector\ParserView source
interface ParserInterface {
/**
* Parses given selector source into an array of tokens.
*
* @return SelectorNode[]
*/
public function parse(string $source) : array;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
ParserInterface::parse | public | function | Parses given selector source into an array of tokens. | 5 |