SyntaxErrorException
extends ParseException
in package
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.
Tags
Table of Contents
- nestedNot() : self
- pseudoElementFound() : self
- stringAsFunctionArgument() : self
- unclosedString() : self
- unexpectedToken() : self
Methods
nestedNot()
public
static nestedNot() : self
Return values
self —pseudoElementFound()
public
static pseudoElementFound(string $pseudoElement, string $unexpectedLocation) : self
Parameters
- $pseudoElement : string
- $unexpectedLocation : string
Return values
self —stringAsFunctionArgument()
public
static stringAsFunctionArgument() : self
Return values
self —unclosedString()
public
static unclosedString(int $position) : self
Parameters
- $position : int
Return values
self —unexpectedToken()
public
static unexpectedToken(string $expectedValue, Token $foundToken) : self
Parameters
- $expectedValue : string
- $foundToken : Token
