/template/twigstarter/vendor/twig/twig/src/TokenParser/ |
H A D | IfTokenParser.php | 35 $lineno = $token->getLine(); 64 …e the "if" block started at line %d).', $lineno), $stream->getCurrent()->getLine(), $stream->getSo…
|
H A D | ImportTokenParser.php | 29 …ssion($this->parser->getStream()->expect(/* Token::NAME_TYPE */ 5)->getValue(), $token->getLine()); 34 …return new ImportNode($macro, $var, $token->getLine(), $this->getTag(), $this->parser->isMainScope…
|
H A D | SandboxTokenParser.php | 51 return new SandboxNode($body, $token->getLine(), $this->getTag());
|
H A D | WithTokenParser.php | 41 return new WithNode($body, $variables, $only, $token->getLine(), $this->getTag());
|
H A D | ApplyTokenParser.php | 31 $lineno = $token->getLine();
|
H A D | AutoEscapeTokenParser.php | 26 $lineno = $token->getLine(); 34 …An escaping strategy must be a string or false.', $stream->getCurrent()->getLine(), $stream->getSo…
|
H A D | BlockTokenParser.php | 34 $lineno = $token->getLine(); 38 …his->parser->getBlock($name)->getTemplateLine()), $stream->getCurrent()->getLine(), $stream->getSo… 50 …or block "%s" (but "%s" given).', $name, $value), $stream->getCurrent()->getLine(), $stream->getSo…
|
H A D | DoTokenParser.php | 28 return new DoNode($expr, $token->getLine(), $this->getTag());
|
H A D | EmbedTokenParser.php | 32 …tToken = $fakeParentToken = new Token(/* Token::STRING_TYPE */ 7, '__parent__', $token->getLine()); 34 …ntToken = new Token(/* Token::STRING_TYPE */ 7, $parent->getAttribute('value'), $token->getLine()); 36 …arentToken = new Token(/* Token::NAME_TYPE */ 5, $parent->getAttribute('name'), $token->getLine()); 41 new Token(/* Token::BLOCK_START_TYPE */ 1, '', $token->getLine()), 42 new Token(/* Token::NAME_TYPE */ 5, 'extends', $token->getLine()), 44 new Token(/* Token::BLOCK_END_TYPE */ 3, '', $token->getLine()), 58 …odule->getAttribute('index'), $variables, $only, $ignoreMissing, $token->getLine(), $this->getTag(…
|
H A D | FilterTokenParser.php | 34 $lineno = $token->getLine();
|
H A D | ForTokenParser.php | 38 $lineno = $token->getLine();
|
H A D | UseTokenParser.php | 39 …ferences in a "use" statement must be a string.', $stream->getCurrent()->getLine(), $stream->getSo…
|
H A D | DeprecatedTokenParser.php | 35 return new DeprecatedNode($expr, $token->getLine(), $this->getTag());
|
H A D | FlushTokenParser.php | 28 return new FlushNode($token->getLine(), $this->getTag());
|
H A D | FromTokenParser.php | 49 $var = new AssignNameExpression($this->parser->getVarName(), $token->getLine()); 50 …$node = new ImportNode($macro, $var, $token->getLine(), $this->getTag(), $this->parser->isMainScop…
|
H A D | IncludeTokenParser.php | 33 …return new IncludeNode($expr, $variables, $only, $ignoreMissing, $token->getLine(), $this->getTag(…
|
H A D | MacroTokenParser.php | 31 $lineno = $token->getLine(); 44 …or macro "%s" (but "%s" given).', $name, $value), $stream->getCurrent()->getLine(), $stream->getSo…
|
H A D | SetTokenParser.php | 32 $lineno = $token->getLine(); 43 …e the same number of variables and assignments.', $stream->getCurrent()->getLine(), $stream->getSo… 49 …t with a block, you cannot have a multi-target.', $stream->getCurrent()->getLine(), $stream->getSo…
|
H A D | SpacelessTokenParser.php | 34 $lineno = $token->getLine();
|
H A D | ExtendsTokenParser.php | 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…
|
/template/twigstarter/vendor/twig/twig/src/ |
H A D | Parser.php | 108 $e->setTemplateLine($this->stream->getCurrent()->getLine()); 130 $lineno = $this->getCurrentToken()->getLine(); 136 $rv[] = new TextNode($token->getValue(), $token->getLine()); 143 $rv[] = new PrintNode($expr, $token->getLine()); 151 …throw new SyntaxError('A block must start with a tag name.', $token->getLine(), $this->stream->get… 168 … SyntaxError(sprintf('Unexpected "%s" tag', $token->getValue()), $token->getLine(), $this->stream-… 174 …ew SyntaxError(sprintf('Unknown "%s" tag.', $token->getValue()), $token->getLine(), $this->stream-… 191 …xer or parser ended up in unsupported state.', $this->getCurrentToken()->getLine(), $this->stream-…
|
H A D | ExpressionParser.php | 85 $expr = new $class($expr, $expr1, $token->getLine()); 107 $line = $stream->getCurrent()->getLine(); 139 $line = $token->getLine(); 218 $node = new ConstantExpression(true, $token->getLine()); 272 $node = new $class($expr, $token->getLine()); 325 $node = new ArrayExpression([], $stream->getCurrent()->getLine()); 350 $node = new ArrayExpression([], $stream->getCurrent()->getLine()); 470 $lineno = $token->getLine(); 513 $arg = new ConstantExpression(0, $token->getLine()); 531 …ew $class($node, new ConstantExpression('slice', $token->getLine()), $arguments, $token->getLine()… [all …]
|
H A D | Token.php | 88 public function getLine() function in Twig\\Token
|
H A D | TokenStream.php | 50 …xError('Unexpected end of template.', $this->tokens[$this->current - 1]->getLine(), $this->source); 75 $line = $token->getLine(); 96 …expected end of template.', $this->tokens[$this->current + $number - 1]->getLine(), $this->source);
|
/template/twigstarter/vendor/twig/twig/src/Error/ |
H A D | Error.php | 237 array_unshift($traces, ['file' => $e->getFile(), 'line' => $e->getLine()]);
|