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
Methods
- nestedNot() : self
- pseudoElementFound() : self
- stringAsFunctionArgument() : self
- unclosedString() : self
- unexpectedToken() : self
Methods
nestedNot()
public
static nestedNot() : self
Return values
selfpseudoElementFound()
public
static pseudoElementFound(string $pseudoElement, string $unexpectedLocation) : self
Parameters
- $pseudoElement : string
- $unexpectedLocation : string
Return values
selfstringAsFunctionArgument()
public
static stringAsFunctionArgument() : self
Return values
selfunclosedString()
public
static unclosedString(int $position) : self
Parameters
- $position : int
Return values
selfunexpectedToken()
public
static unexpectedToken(string $expectedValue, Token $foundToken) : self
Parameters
- $expectedValue : string
- $foundToken : Token