SyntaxErrorException
class SyntaxErrorException extends ParseException
ParseException is thrown when a CSS selector syntax is not valid.
This component is a port of the Python cssselect library, which is copyright Ian Bicking, see https://github.com/SimonSapin/cssselect.
Methods
Details
static SyntaxErrorException
unexpectedToken(string $expectedValue, Token $foundToken)
Parameters
string | $expectedValue | |
Token | $foundToken | |
Return Value
static SyntaxErrorException
pseudoElementFound(string $pseudoElement, string $unexpectedLocation)
Parameters
string | $pseudoElement | |
string | $unexpectedLocation | |
Return Value
Parameters
Return Value
Return Value
Return Value