private function CssParser::throwError in QueryPath 7.3
Same name and namespace in other branches
- 6 QueryPath/CssParser.php \CssParser::throwError()
- 7.2 QueryPath/CssParser.php \CssParser::throwError()
2 calls to CssParser::throwError()
- CssParser::attribute in QueryPath/
CssParser.php - CssParser::elementName in QueryPath/
CssParser.php
File
- QueryPath/
CssParser.php, line 519
Class
Code
private function throwError($expected, $got) {
$filter = sprintf('Expected %s, got %s', CssToken::name($expected), CssToken::name($got));
throw new CssParseException($filter);
}