HumHub Documentation (unofficial)

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
author

Jean-François Simon jeanfrancois.simon@sensiolabs.com

Table of Contents

Methods

nestedNot()  : self
pseudoElementFound()  : self
stringAsFunctionArgument()  : self
unclosedString()  : self
unexpectedToken()  : self

Methods

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
Return values
self

        
On this page

Search results