Home
last modified time | relevance | path

Searched refs:SyntaxError (Results 26 – 50 of 76) sorted by last modified time

1234

/plugin/findologicxmlexport/vendor/twig/twig/src/Util/
H A DDeprecationCollector.php15 use Twig\Error\SyntaxError; alias
68 } catch (SyntaxError $e) {
/plugin/findologicxmlexport/vendor/twig/twig/src/
H A DEnvironment.php20 use Twig\Error\SyntaxError; alias
380 * @throws SyntaxError When an error occurred during compilation
395 * @throws SyntaxError When an error occurred during compilation
410 * @throws SyntaxError When an error occurred during compilation
440 * @throws SyntaxError When an error occurred during compilation
538 * @throws SyntaxError When an error occurred during compilation
603 * @throws SyntaxError When an error occurred during compilation
692 * @throws SyntaxError When the code is syntactically wrong
736 * @throws SyntaxError When the token stream is syntactically or semantically wrong
792 * @throws SyntaxError When there was an error during tokenizing, parsing or compiling
[all …]
H A DLexer.php15 use Twig\Error\SyntaxError; alias
147 throw new SyntaxError(sprintf('Unclosed "%s".', $expect), $lineno, $this->source);
242 …throw new SyntaxError(sprintf('Unclosed "%s".', self::STATE_BLOCK === $this->state ? 'block' : 'va…
274 …throw new SyntaxError(sprintf('Unexpected "%s".', $this->code[$this->cursor]), $this->lineno, $thi…
279 … throw new SyntaxError(sprintf('Unclosed "%s".', $expect), $lineno, $this->source);
299 …throw new SyntaxError(sprintf('Unexpected character "%s".', $this->code[$this->cursor]), $this->li…
310 …throw new SyntaxError(sprintf('Unexpected end of file: Unclosed "%s" block.', $tag), $this->lineno…
326 throw new SyntaxError('Unclosed comment.', $this->lineno, $this->source);
345 throw new SyntaxError(sprintf('Unclosed "%s".', $expect), $lineno, $this->source);
352 …throw new SyntaxError(sprintf('Unexpected character "%s".', $this->code[$this->cursor]), $this->li…
H A DTokenStream.php15 use Twig\Error\SyntaxError; alias
72 …throw new SyntaxError('Unexpected end of template.', $this->tokens[$this->current - 1]->getLine(),…
100 … throw new SyntaxError(sprintf('%sUnexpected token "%s" of value "%s" ("%s" expected%s).',
123 …throw new SyntaxError('Unexpected end of template.', $this->tokens[$this->current + $number - 1]->…
H A DExpressionParser.php15 use Twig\Error\SyntaxError; alias
362 …throw new SyntaxError('Calling "parent" outside a block is forbidden.', $line, $this->parser->getS…
373 …throw new SyntaxError('The "block" function takes one argument (the block name).', $line, $this->p…
429 … throw new SyntaxError('Expected name or number.', $lineno, $stream->getSourceContext());
440 …throw new SyntaxError(sprintf('"%s" cannot be called as macro as it is a reserved keyword.', $name…
527 * @throws SyntaxError
550 …throw new SyntaxError(sprintf('A parameter name must be a string, "%s" given.', \get_class($value)…
592 …throw new SyntaxError(sprintf('You cannot assign a value to "%s".', $value), $token->getLine(), $s…
656 … $e = new SyntaxError(sprintf('Unknown "%s" test.', $name), $line, $stream->getSourceContext());
689 …$e = new SyntaxError(sprintf('Unknown "%s" function.', $name), $line, $this->parser->getStream()->…
[all …]
H A DParser.php15 use Twig\Error\SyntaxError; alias
127 } catch (SyntaxError $e) {
176 …throw new SyntaxError('A block must start with a tag name.', $token->getLine(), $this->stream->get…
194 …$e = new SyntaxError(sprintf('Unexpected "%s" tag', $token->getValue()), $token->getLine(), $this-…
200 …$e = new SyntaxError(sprintf('Unknown "%s" tag.', $token->getValue()), $token->getLine(), $this->s…
216 …throw new SyntaxError('Lexer or parser ended up in unsupported state.', $this->getCurrentToken()->…
290 …throw new SyntaxError(sprintf('"%s" cannot be used as a macro name as it is a reserved keyword.', …
409 …throw new SyntaxError('A template that extends another one cannot include content outside Twig blo…
/plugin/findologicxmlexport/vendor/twig/twig/src/Node/Expression/Test/
H A DDefinedTest.php15 use Twig\Error\SyntaxError; alias
50 …throw new SyntaxError('The "defined" test only works with simple variables.', $this->getTemplateLi…
/plugin/findologicxmlexport/vendor/twig/twig/src/TokenParser/
H A DIfTokenParser.php15 use Twig\Error\SyntaxError; alias
66 …throw new SyntaxError(sprintf('Unexpected end of template. Twig was looking for the following tags…
H A DTokenParserInterface.php14 use Twig\Error\SyntaxError; alias
35 * @throws SyntaxError
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/exceptions/
H A Dchild_contents_outside_blocks.test15 Twig\Error\SyntaxError: A template that extends another one cannot include content outside Twig blo…
H A Dmultiline_function_with_unknown_argument.test9 Twig\Error\SyntaxError: Unknown argument "invalid" for function "include(template, variables, with_…
H A Dstrict_comparison_operator.test6 Twig\Error\SyntaxError: Unexpected operator of value "=". Did you try to use "===" or "!==" for str…
H A Dsyntax_error_in_reused_template.test10 Twig\Error\SyntaxError: Unexpected token "operator" of value "=" ("end of statement block" expected…
H A Dunclosed_tag.test20 Twig\Error\SyntaxError: Unexpected "endblock" tag (expecting closing tag for the "if" tag defined n…
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Serializer/Type/
H A DParserTest.php7 use JMS\Serializer\Type\Exception\SyntaxError; alias
103 $this->expectException(SyntaxError::class);
115 $this->expectException(SyntaxError::class);
127 $this->expectException(SyntaxError::class);
139 $this->expectException(SyntaxError::class);
151 $this->expectException(SyntaxError::class);
163 $this->expectException(SyntaxError::class);
/plugin/findologicxmlexport/vendor/twig/twig/lib/Twig/
H A DParserInterface.php12 use Twig\Error\SyntaxError; alias
30 * @throws SyntaxError When the token stream is syntactically or semantically wrong
/plugin/findologicxmlexport/vendor/twig/twig/src/Node/Expression/
H A DCallExpression.php15 use Twig\Error\SyntaxError; alias
124 …throw new SyntaxError(sprintf('Positional arguments cannot be used after named arguments for %s "%…
156 …throw new SyntaxError(sprintf('Argument "%s" is defined twice for %s "%s".', $name, $callType, $ca…
160 throw new SyntaxError(sprintf(
185 …throw new SyntaxError(sprintf('Value for argument "%s" is required for %s "%s".', $name, $callType…
215 throw new SyntaxError(sprintf(
/plugin/findologicxmlexport/vendor/twig/twig/src/Node/
H A DMacroNode.php15 use Twig\Error\SyntaxError; alias
30 …throw new SyntaxError(sprintf('The argument "%s" in macro "%s" cannot be defined because the varia…
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/expressions/
H A Dtwo_word_operators_as_variables.test8 Twig\Error\SyntaxError: Unexpected token "operator" of value "starts with" in "index.twig" at line …
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/
H A Dblock_without_name.test12 Twig\Error\SyntaxError: The "block" function takes one argument (the block name) in "base.twig" at …
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/inheritance/
H A Dparent_in_a_block.test8 Twig\Error\SyntaxError: Cannot extend from a block in "index.twig" at line 3.
H A Dparent_without_extends.test8 Twig\Error\SyntaxError: Calling "parent" on a template that does not extend nor "use" another templ…
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/verbatim/
H A Dmixed_usage_with_raw.test10 Twig\Error\SyntaxError: Unexpected end of file: Unclosed "verbatim" block in "index.twig" at line 2.
/plugin/findologicxmlexport/vendor/jms/serializer/src/Type/
H A DParser.php9 use JMS\Serializer\Type\Exception\SyntaxError; alias
32 throw new SyntaxError($e->getMessage(), 0, $e);
/plugin/findologicxmlexport/vendor/jms/serializer/src/Type/Exception/
H A DSyntaxError.php7 final class SyntaxError extends \RuntimeException implements Exception class

1234