Home
last modified time | relevance | path

Searched refs:SyntaxError (Results 1 – 23 of 23) sorted by relevance

/template/twigstarter/vendor/twig/twig/src/TokenParser/
DExtendsTokenParser.php15 use Twig\Error\SyntaxError; alias
31 …throw new SyntaxError('Cannot use "extend" in a block.', $token->getLine(), $stream->getSourceCont…
33 …throw new SyntaxError('Cannot use "extend" in a macro.', $token->getLine(), $stream->getSourceCont…
37 …throw new SyntaxError('Multiple extends tags are forbidden.', $token->getLine(), $stream->getSourc…
DSetTokenParser.php14 use Twig\Error\SyntaxError; alias
43 …throw new SyntaxError('When using set, you must have the same number of variables and assignments.…
49 …throw new SyntaxError('When using set with a block, you cannot have a multi-target.', $stream->get…
DBlockTokenParser.php15 use Twig\Error\SyntaxError; alias
38 …throw new SyntaxError(sprintf("The block '%s' has already been defined line %d.", $name, $this->pa…
50 …throw new SyntaxError(sprintf('Expected endblock for block "%s" (but "%s" given).', $name, $value)…
DTokenParserInterface.php14 use Twig\Error\SyntaxError; alias
36 * @throws SyntaxError
DSandboxTokenParser.php14 use Twig\Error\SyntaxError; alias
46 …throw new SyntaxError('Only "include" tags are allowed within a "sandbox" section.', $node->getTem…
DAutoEscapeTokenParser.php14 use Twig\Error\SyntaxError; alias
34 …throw new SyntaxError('An escaping strategy must be a string or false.', $stream->getCurrent()->ge…
DUseTokenParser.php14 use Twig\Error\SyntaxError; alias
39 …throw new SyntaxError('The template references in a "use" statement must be a string.', $stream->g…
DForTokenParser.php15 use Twig\Error\SyntaxError; alias
94 …throw new SyntaxError('The "loop" variable cannot be used in a looping condition.', $node->getTemp…
113 …throw new SyntaxError(sprintf('The "loop.%s" variable is not defined when looping with a condition…
DMacroTokenParser.php14 use Twig\Error\SyntaxError; alias
44 …throw new SyntaxError(sprintf('Expected endmacro for macro "%s" (but "%s" given).', $name, $value)…
DIfTokenParser.php15 use Twig\Error\SyntaxError; alias
64 …throw new SyntaxError(sprintf('Unexpected end of template. Twig was looking for the following tags…
/template/twigstarter/vendor/twig/twig/src/
DTokenStream.php15 use Twig\Error\SyntaxError; alias
50 …throw new SyntaxError('Unexpected end of template.', $this->tokens[$this->current - 1]->getLine(),…
76 throw new SyntaxError(sprintf('%sUnexpected token "%s"%s ("%s" expected%s).',
96 …throw new SyntaxError('Unexpected end of template.', $this->tokens[$this->current + $number - 1]->…
DExpressionParser.php15 use Twig\Error\SyntaxError; alias
266 …throw new SyntaxError(sprintf('Unexpected unary operator "%s".', $token->getValue()), $token->getL…
283 …throw new SyntaxError(sprintf('Unexpected operator of value "%s". Did you try to use "===" or "!==…
285 …throw new SyntaxError(sprintf('Unexpected token "%s" of value "%s".', Token::typeToEnglish($token-…
385 …throw new SyntaxError(sprintf('A hash key must be a quoted string, a number, a name, or an express…
424 …throw new SyntaxError('Calling "parent" outside a block is forbidden.', $line, $this->parser->getS…
428 …throw new SyntaxError('Calling "parent" on a template that does not extend nor "use" another templ…
435 …throw new SyntaxError('The "block" function takes one argument (the block name).', $line, $this->p…
442 …throw new SyntaxError('The "attribute" function takes at least two arguments (the variable and the…
491 …throw new SyntaxError(sprintf('Expected name or number, got value "%s" of type %s.', $token->getVa…
[all …]
DEnvironment.php20 use Twig\Error\SyntaxError; alias
313 * @throws SyntaxError When an error occurred during compilation
328 * @throws SyntaxError When an error occurred during compilation
343 * @throws SyntaxError When an error occurred during compilation
375 * @throws SyntaxError When an error occurred during compilation
444 * @throws SyntaxError When an error occurred during compilation
496 * @throws SyntaxError When an error occurred during compilation
533 * @throws SyntaxError When the code is syntactically wrong
554 * @throws SyntaxError When the token stream is syntactically or semantically wrong
589 * @throws SyntaxError When there was an error during tokenizing, parsing or compiling
[all …]
DParser.php15 use Twig\Error\SyntaxError; alias
102 } catch (SyntaxError $e) {
151 …throw new SyntaxError('A block must start with a tag name.', $token->getLine(), $this->stream->get…
168 …$e = new SyntaxError(sprintf('Unexpected "%s" tag', $token->getValue()), $token->getLine(), $this-…
174 …$e = new SyntaxError(sprintf('Unknown "%s" tag.', $token->getValue()), $token->getLine(), $this->s…
191 …throw new SyntaxError('Lexer or parser ended up in unsupported state.', $this->getCurrentToken()->…
351 …throw new SyntaxError('A template that extends another one cannot include content outside Twig blo…
DLexer.php15 use Twig\Error\SyntaxError; alias
203 throw new SyntaxError(sprintf('Unclosed "%s".', $expect), $lineno, $this->source);
303 …throw new SyntaxError(sprintf('Unclosed "%s".', self::STATE_BLOCK === $this->state ? 'block' : 'va…
340 …throw new SyntaxError(sprintf('Unexpected "%s".', $this->code[$this->cursor]), $this->lineno, $thi…
345 … throw new SyntaxError(sprintf('Unclosed "%s".', $expect), $lineno, $this->source);
365 …throw new SyntaxError(sprintf('Unexpected character "%s".', $this->code[$this->cursor]), $this->li…
372 …throw new SyntaxError('Unexpected end of file: Unclosed "verbatim" block.', $this->lineno, $this->…
396 throw new SyntaxError('Unclosed comment.', $this->lineno, $this->source);
415 throw new SyntaxError(sprintf('Unclosed "%s".', $expect), $lineno, $this->source);
422 …throw new SyntaxError(sprintf('Unexpected character "%s".', $this->code[$this->cursor]), $this->li…
/template/twigstarter/vendor/twig/twig/lib/Twig/Error/
DSyntax.php3 use Twig\Error\SyntaxError; alias
11 class Twig_Error_Syntax extends SyntaxError
/template/twigstarter/vendor/twig/twig/src/Node/Expression/
DCallExpression.php15 use Twig\Error\SyntaxError; alias
128 …throw new SyntaxError(sprintf('Positional arguments cannot be used after named arguments for %s "%…
169 …throw new SyntaxError(sprintf('Argument "%s" is defined twice for %s "%s".', $name, $callType, $ca…
173 throw new SyntaxError(sprintf(
198 …throw new SyntaxError(sprintf('Value for argument "%s" is required for %s "%s".', $name, $callType…
228 throw new SyntaxError(
/template/twigstarter/vendor/twig/twig/src/Util/
DDeprecationCollector.php15 use Twig\Error\SyntaxError; alias
68 } catch (SyntaxError $e) {
/template/twigstarter/vendor/twig/twig/src/Node/Expression/Test/
DDefinedTest.php15 use Twig\Error\SyntaxError; alias
54 throw new SyntaxError('The "defined" test only works with simple variables.', $lineno);
/template/twigstarter/vendor/twig/twig/src/Node/
DMacroNode.php15 use Twig\Error\SyntaxError; alias
30 …throw new SyntaxError(sprintf('The argument "%s" in macro "%s" cannot be defined because the varia…
/template/twigstarter/vendor/twig/twig/src/Error/
DSyntaxError.php20 class SyntaxError extends Error class
/template/strap/resources/firebug/
H A Dfirebug-lite-1.4.js3064 }throw new SyntaxError("JSON.parse")
/template/strap/resources/library/rrdiagram/0.9.4.1/
H A Drrdiagram.js.map1SyntaxError\nvar SUPPORTS_Y = !fails(function () { RegExp(MAX_UINT32, 'y'); });\n\n// @@split logi…