SyntaxErrorException

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

static SyntaxErrorException unexpectedToken(string $expectedValue, Token $foundToken)
static 登录查看完整内容