Home
last modified time | relevance | path

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

12345

/plugin/findologicxmlexport/vendor/jms/serializer/tests/Serializer/Type/
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/asciidocjs/node_modules/get-intrinsic/test/
DGetIntrinsic.js30 SyntaxError,
42 SyntaxError,
48 SyntaxError,
54 SyntaxError,
60 SyntaxError,
72 SyntaxError,
78 SyntaxError,
105 SyntaxError,
/plugin/findologicxmlexport/vendor/twig/twig/src/TokenParser/
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…
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…
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…
DTokenParserInterface.php14 use Twig\Error\SyntaxError; alias
35 * @throws SyntaxError
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)…
DSandboxTokenParser.php14 use Twig\Error\SyntaxError; alias
48 …throw new SyntaxError('Only "include" tags are allowed within a "sandbox" section.', $node->getTem…
DUseTokenParser.php14 use Twig\Error\SyntaxError; alias
41 …throw new SyntaxError('The template references in a "use" statement must be a string.', $stream->g…
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…
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…
DMacroTokenParser.php14 use Twig\Error\SyntaxError; alias
45 …throw new SyntaxError(sprintf('Expected endmacro for macro "%s" (but "%s" given).', $name, $value)…
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/
DExpressionParser.php15 use Twig\Error\SyntaxError; alias
213 …throw new SyntaxError(sprintf('Unexpected unary operator "%s".', $token->getValue()), $token->getL…
230 …throw new SyntaxError(sprintf('Unexpected operator of value "%s". Did you try to use "===" or "!==…
232 …throw new SyntaxError(sprintf('Unexpected token "%s" of value "%s".', Token::typeToEnglish($token-…
323 …throw new SyntaxError(sprintf('A hash key must be a quoted string, a number, a name, or an express…
362 …throw new SyntaxError('Calling "parent" outside a block is forbidden.', $line, $this->parser->getS…
366 …throw new SyntaxError('Calling "parent" on a template that does not extend nor "use" another templ…
373 …throw new SyntaxError('The "block" function takes one argument (the block name).', $line, $this->p…
380 …throw new SyntaxError('The "attribute" function takes at least two arguments (the variable and the…
429 … throw new SyntaxError('Expected name or number.', $lineno, $stream->getSourceContext());
[all …]
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]->…
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…
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…
/plugin/findologicxmlexport/vendor/twig/twig/lib/Twig/Error/
DSyntax.php3 use Twig\Error\SyntaxError; alias
8 class Twig_Error_Syntax extends SyntaxError
/plugin/findologicxmlexport/vendor/twig/twig/lib/Twig/
DParserInterface.php12 use Twig\Error\SyntaxError; alias
30 * @throws SyntaxError When the token stream is syntactically or semantically wrong
DLexerInterface.php12 use Twig\Error\SyntaxError; alias
33 * @throws SyntaxError When the code is syntactically wrong
/plugin/findologicxmlexport/vendor/jms/serializer/src/Type/
DParser.php9 use JMS\Serializer\Type\Exception\SyntaxError; alias
32 throw new SyntaxError($e->getMessage(), 0, $e);
/plugin/findologicxmlexport/vendor/twig/twig/src/Node/Expression/
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/Util/
DDeprecationCollector.php15 use Twig\Error\SyntaxError; alias
68 } catch (SyntaxError $e) {
/plugin/asciidocjs/node_modules/call-bind/test/
DcallBound.js34 SyntaxError,
39 SyntaxError,
/plugin/findologicxmlexport/vendor/twig/twig/src/Node/Expression/Test/
DDefinedTest.php15 use Twig\Error\SyntaxError; alias
50 …throw new SyntaxError('The "defined" test only works with simple variables.', $this->getTemplateLi…

12345