Exception\SyntaxErrorException (Component\CssSelector)
Symfony\Component\CssSelector\Exception\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 SyntaxErrorException | pseudoElementFound(string $pseudoElement, string $unexpectedLocation) | |
static SyntaxErrorException | unclosedString(int $position) | |
static SyntaxErrorException | nestedNot() | |
static SyntaxErrorException | stringAsFunctionArgument() |
Details
static public SyntaxErrorException unexpectedToken(string $expectedValue, Token $foundToken)
static public SyntaxErrorException pseudoElementFound(string $pseudoElement, string $unexpectedLocation)
static public SyntaxErrorException unclosedString(int $position)
static public SyntaxErrorException nestedNot()
static public SyntaxErrorException stringAsFunctionArgument()
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/CssSelector/Exception/SyntaxErrorException.html