CSS selector parser.
This component is a port of the Python cssselect library, which is copyright Ian Bicking, @see https://github.com/scrapy/cssselect.
- author Jean-François Simon
- internal
CloneableInstantiable
Methods |
public __construct(?Symfony |
public parse(string $source) : array |
public static parseSeries(array $tokens) : array Parses the arguments for ":nth-child()" and friends.
|
Properties |
private Symfony |
Methods |
private parseAttributeNode(Symfony |
private parseElementNode(Symfony |
private parserSelectorNode(Symfony |
private parseSelectorList(Symfony |
private parseSimpleSelector(Symfony Parses next simple node (hash, class, pseudo, negation).
|
Methods |
public static parseSeries(array $tokens) : array Parses the arguments for ":nth-child()" and friends.
|