Spec-Zone.ru › Symfony 3.0

SyntaxErrorException

class SyntaxErrorException extends ParseException

ParseException выбрасывается, когда синтаксис CSS-селектора некорректен.

Этот компонент является портированием Python-библиотеки cssselect, авторское право которой принадлежит Ian Bicking, см. https://github.com/SimonSapin/cssselect.

Методы

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()

Подробности

static SyntaxErrorException unexpectedToken(string $expectedValue, Token $foundToken)

Параметры

string $expectedValue
Token $foundToken

Возвращаемое значение

SyntaxErrorException

static SyntaxErrorException pseudoElementFound(string $pseudoElement, string $unexpectedLocation)

Параметры

string $pseudoElement
string $unexpectedLocation

Возвращаемое значение

SyntaxErrorException

static SyntaxErrorException unclosedString(int $position)

Параметры

int $position

Возвращаемое значение

SyntaxErrorException

static SyntaxErrorException nestedNot()

Возвращаемое значение

SyntaxErrorException

static SyntaxErrorException stringAsFunctionArgument()

Возвращаемое значение

SyntaxErrorException

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/CssSelector/Exception/SyntaxErrorException.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API