Home
last modified time | relevance | path

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

123

/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/src/TokenParser/
H A DExtendsTokenParser.php15 use Twig\Error\SyntaxError; alias
32 …throw new SyntaxError('Cannot extend from a block.', $token->getLine(), $stream->getSourceContext(…
36 …throw new SyntaxError('Multiple extends tags are forbidden.', $token->getLine(), $stream->getSourc…
H A DSetTokenParser.php14 use Twig\Error\SyntaxError; alias
45 …throw new SyntaxError('When using set, you must have the same number of variables and assignments.…
51 …throw new SyntaxError('When using set with a block, you cannot have a multi-target.', $stream->get…
H A DAutoEscapeTokenParser.php14 use Twig\Error\SyntaxError; alias
49 …throw new SyntaxError('An escaping strategy must be a string or a bool.', $stream->getCurrent()->g…
63 …throw new SyntaxError('Unexpected escaping strategy as you set autoescaping to false.', $stream->g…
H A DTokenParserInterface.php14 use Twig\Error\SyntaxError; alias
35 * @throws SyntaxError
H A DBlockTokenParser.php15 use Twig\Error\SyntaxError; alias
40 …throw new SyntaxError(sprintf("The block '%s' has already been defined line %d.", $name, $this->pa…
52 …throw new SyntaxError(sprintf('Expected endblock for block "%s" (but "%s" given).', $name, $value)…
H A DSandboxTokenParser.php14 use Twig\Error\SyntaxError; alias
48 …throw new SyntaxError('Only "include" tags are allowed within a "sandbox" section.', $node->getTem…
H A DUseTokenParser.php14 use Twig\Error\SyntaxError; alias
41 …throw new SyntaxError('The template references in a "use" statement must be a string.', $stream->g…
H A DForTokenParser.php15 use Twig\Error\SyntaxError; alias
93 …throw new SyntaxError('The "loop" variable cannot be used in a looping condition.', $node->getTemp…
112 …throw new SyntaxError(sprintf('The "loop.%s" variable is not defined when looping with a condition…
H A DFromTokenParser.php14 use Twig\Error\SyntaxError; alias
56 …throw new SyntaxError(sprintf('"%s" cannot be an imported macro as it is a reserved keyword.', $na…
H A DMacroTokenParser.php14 use Twig\Error\SyntaxError; alias
45 …throw new SyntaxError(sprintf('Expected endmacro for macro "%s" (but "%s" given).', $name, $value)…
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…
/plugin/findologicxmlexport/vendor/twig/twig/src/
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 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 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…
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 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 …]
/plugin/findologicxmlexport/vendor/twig/twig/lib/Twig/Error/
H A DSyntax.php3 use Twig\Error\SyntaxError; alias
8 class Twig_Error_Syntax extends SyntaxError
/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
H A DLexerInterface.php12 use Twig\Error\SyntaxError; alias
33 * @throws SyntaxError When the code is syntactically 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/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/twig/twig/src/Util/
H A DDeprecationCollector.php15 use Twig\Error\SyntaxError; alias
68 } catch (SyntaxError $e) {
/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/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…

123