/template/twigstarter/vendor/twig/twig/src/TokenParser/ |
H A D | ExtendsTokenParser.php | 15 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…
|
H A D | SetTokenParser.php | 14 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…
|
H A D | BlockTokenParser.php | 15 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)…
|
H A D | TokenParserInterface.php | 14 use Twig\Error\SyntaxError; alias 36 * @throws SyntaxError
|
H A D | ForTokenParser.php | 15 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…
|
H A D | SandboxTokenParser.php | 14 use Twig\Error\SyntaxError; alias 46 …throw new SyntaxError('Only "include" tags are allowed within a "sandbox" section.', $node->getTem…
|
H A D | AutoEscapeTokenParser.php | 14 use Twig\Error\SyntaxError; alias 34 …throw new SyntaxError('An escaping strategy must be a string or false.', $stream->getCurrent()->ge…
|
H A D | UseTokenParser.php | 14 use Twig\Error\SyntaxError; alias 39 …throw new SyntaxError('The template references in a "use" statement must be a string.', $stream->g…
|
H A D | MacroTokenParser.php | 14 use Twig\Error\SyntaxError; alias 44 …throw new SyntaxError(sprintf('Expected endmacro for macro "%s" (but "%s" given).', $name, $value)…
|
H A D | IfTokenParser.php | 15 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/ |
H A D | ExpressionParser.php | 15 use Twig\Error\SyntaxError; alias 266 …throw new SyntaxError(sprintf('Unexpected unary operator "%s".', $token->getValue()), $token->getL… 424 …throw new SyntaxError('Calling "parent" outside a block is forbidden.', $line, $this->parser->getS… 435 …throw new SyntaxError('The "block" function takes one argument (the block name).', $line, $this->p… 496 …throw new SyntaxError(sprintf('Dynamic macro names are not supported (called on "%s").', $node->ge… 585 * @throws SyntaxError 613 …throw new SyntaxError(sprintf('A parameter name must be a string, "%s" given.', \get_class($value)… 661 …throw new SyntaxError(sprintf('You cannot assign a value to "%s".', $value), $token->getLine(), $s… 732 … $e = new SyntaxError(sprintf('Unknown "%s" test.', $name), $line, $stream->getSourceContext()); 762 …$e = new SyntaxError(sprintf('Unknown "%s" function.', $name), $line, $this->parser->getStream()->… [all …]
|
H A D | Environment.php | 20 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 …]
|
H A D | TokenStream.php | 15 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]->…
|
H A D | Lexer.php | 15 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…
|
H A D | Parser.php | 15 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…
|
/template/twigstarter/vendor/twig/twig/lib/Twig/Error/ |
H A D | Syntax.php | 3 use Twig\Error\SyntaxError; alias 11 class Twig_Error_Syntax extends SyntaxError
|
/template/twigstarter/vendor/twig/twig/src/Node/Expression/ |
H A D | CallExpression.php | 15 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/ |
H A D | DeprecationCollector.php | 15 use Twig\Error\SyntaxError; alias 68 } catch (SyntaxError $e) {
|
/template/twigstarter/vendor/twig/twig/src/Node/Expression/Test/ |
H A D | DefinedTest.php | 15 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/ |
H A D | MacroNode.php | 15 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/ |
H A D | SyntaxError.php | 20 class SyntaxError extends Error class
|