Home
last modified time | relevance | path

Searched refs:expect (Results 1 – 25 of 29) sorted by relevance

12

/template/twigstarter/vendor/twig/twig/
H A Ddrupal_test.sh32 expect status_code() == 200
34 expect status_code() == 200
36expect body() matches "/Dairy\-free milk chocolate is made in largely the same way as regular choc…
37 expect status_code() == 200
39 expect status_code() == 200
43 expect status_code() == 303
45 expect status_code() == 200
47 expect status_code() == 200
/template/twigstarter/vendor/twig/twig/src/
H A DExpressionParser.php108 $token = $stream->expect(/* Token::NAME_TYPE */ 5);
110 $stream->expect(/* Token::ARROW_TYPE */ 12);
138 $token = $stream->expect(/* Token::PUNCTUATION_TYPE */ 9, '(');
143 $token = $stream->expect(/* Token::NAME_TYPE */ 5);
150 $stream->expect(/* Token::PUNCTUATION_TYPE */ 9, ')');
151 $stream->expect(/* Token::ARROW_TYPE */ 12);
305 $stream->expect(/* Token::INTERPOLATION_END_TYPE */ 11);
533 $stream->expect(/* Token::PUNCTUATION_TYPE */ 9, ']');
538 $stream->expect(/* Token::PUNCTUATION_TYPE */ 9, ']');
554 $token = $this->parser->getStream()->expect(/* Token::NAME_TYPE */ 5);
[all …]
H A DLexer.php202 list($expect, $lineno) = array_pop($this->brackets);
203 throw new SyntaxError(sprintf('Unclosed "%s".', $expect), $lineno, $this->source);
343 list($expect, $lineno) = array_pop($this->brackets);
344 if ($this->code[$this->cursor] != strtr($expect, '([{', ')]}')) {
345 … throw new SyntaxError(sprintf('Unclosed "%s".', $expect), $lineno, $this->source);
413 list($expect, $lineno) = array_pop($this->brackets);
415 throw new SyntaxError(sprintf('Unclosed "%s".', $expect), $lineno, $this->source);
H A DTokenStream.php71 public function expect($type, $value = null, string $message = null): Token function in Twig\\TokenStream
/template/twigstarter/vendor/twig/twig/src/TokenParser/
H A DFromTokenParser.php29 $stream->expect(/* Token::NAME_TYPE */ 5, 'import');
33 $name = $stream->expect(/* Token::NAME_TYPE */ 5)->getValue();
37 $alias = $stream->expect(/* Token::NAME_TYPE */ 5)->getValue();
47 $stream->expect(/* Token::BLOCK_END_TYPE */ 3);
H A DIfTokenParser.php38 $stream->expect(/* Token::BLOCK_END_TYPE */ 3);
47 $stream->expect(/* Token::BLOCK_END_TYPE */ 3);
53 $stream->expect(/* Token::BLOCK_END_TYPE */ 3);
68 $stream->expect(/* Token::BLOCK_END_TYPE */ 3);
H A DImportTokenParser.php28 $this->parser->getStream()->expect(/* Token::NAME_TYPE */ 5, 'as');
29 …$var = new AssignNameExpression($this->parser->getStream()->expect(/* Token::NAME_TYPE */ 5)->getV…
30 $this->parser->getStream()->expect(/* Token::BLOCK_END_TYPE */ 3);
H A DUseTokenParser.php45 $name = $stream->expect(/* Token::NAME_TYPE */ 5)->getValue();
49 $alias = $stream->expect(/* Token::NAME_TYPE */ 5)->getValue();
60 $stream->expect(/* Token::BLOCK_END_TYPE */ 3);
H A DSetTokenParser.php40 $stream->expect(/* Token::BLOCK_END_TYPE */ 3);
52 $stream->expect(/* Token::BLOCK_END_TYPE */ 3);
55 $stream->expect(/* Token::BLOCK_END_TYPE */ 3);
H A DMacroTokenParser.php33 $name = $stream->expect(/* Token::NAME_TYPE */ 5)->getValue();
37 $stream->expect(/* Token::BLOCK_END_TYPE */ 3);
48 $stream->expect(/* Token::BLOCK_END_TYPE */ 3);
H A DForTokenParser.php41 $stream->expect(/* Token::OPERATOR_TYPE */ 8, 'in');
51 $stream->expect(/* Token::BLOCK_END_TYPE */ 3);
54 $stream->expect(/* Token::BLOCK_END_TYPE */ 3);
59 $stream->expect(/* Token::BLOCK_END_TYPE */ 3);
H A DSpacelessTokenParser.php38 $stream->expect(/* Token::BLOCK_END_TYPE */ 3);
40 $stream->expect(/* Token::BLOCK_END_TYPE */ 3);
H A DWithTokenParser.php35 $stream->expect(/* Token::BLOCK_END_TYPE */ 3);
39 $stream->expect(/* Token::BLOCK_END_TYPE */ 3);
H A DIncludeTokenParser.php42 $stream->expect(/* Token::NAME_TYPE */ 5, 'missing');
57 $stream->expect(/* Token::BLOCK_END_TYPE */ 3);
H A DSandboxTokenParser.php34 $stream->expect(/* Token::BLOCK_END_TYPE */ 3);
36 $stream->expect(/* Token::BLOCK_END_TYPE */ 3);
H A DAutoEscapeTokenParser.php39 $stream->expect(/* Token::BLOCK_END_TYPE */ 3);
41 $stream->expect(/* Token::BLOCK_END_TYPE */ 3);
H A DApplyTokenParser.php39 $this->parser->getStream()->expect(Token::BLOCK_END_TYPE);
41 $this->parser->getStream()->expect(Token::BLOCK_END_TYPE);
H A DFilterTokenParser.php42 $stream->expect(/* Token::BLOCK_END_TYPE */ 3);
45 $stream->expect(/* Token::BLOCK_END_TYPE */ 3);
H A DBlockTokenParser.php36 $name = $stream->expect(/* Token::NAME_TYPE */ 5)->getValue();
58 $stream->expect(/* Token::BLOCK_END_TYPE */ 3);
H A DFlushTokenParser.php26 $this->parser->getStream()->expect(/* Token::BLOCK_END_TYPE */ 3);
H A DDoTokenParser.php26 $this->parser->getStream()->expect(/* Token::BLOCK_END_TYPE */ 3);
H A DDeprecatedTokenParser.php33 $this->parser->getStream()->expect(Token::BLOCK_END_TYPE);
H A DExtendsTokenParser.php41 $stream->expect(Token::BLOCK_END_TYPE);
H A DEmbedTokenParser.php56 $stream->expect(/* Token::BLOCK_END_TYPE */ 3);
/template/twigstarter/vendor/twig/twig/doc/
H A Ddeprecated.rst36 deprecated in Twig 2.5.0. This does not work as one would expect it to work

12