/template/twigstarter/vendor/twig/twig/src/ |
H A D | Template.php | 77 public function getSourceContext() function in Twig\\Template 104 return $this->parents[$parent->getSourceContext()->getName()] = $parent; 147 …late has no parent and no traits defining the "%s" block.', $name), -1, $this->getSourceContext()); 184 if (!$e->getSourceContext()) { 185 $e->setSourceContext($template->getSourceContext()); 206 …ot exist.', $name, $this->getTemplateName()), -1, ($templateContext ?? $this)->getSourceContext()); 335 if (!$e->getSourceContext()) { 336 … $e->setSourceContext($templateName ? new Source('', $templateName) : $this->getSourceContext()); 407 if (!$e->getSourceContext()) { 408 $e->setSourceContext($this->getSourceContext()); [all …]
|
H A D | Parser.php | 103 if (!$e->getSourceContext()) { 104 $e->setSourceContext($this->stream->getSourceContext()); 114 …de($this->macros), new Node($this->traits), $this->embeddedTemplates, $stream->getSourceContext()); 151 …Error('A block must start with a tag name.', $token->getLine(), $this->stream->getSourceContext()); 168 …('Unexpected "%s" tag', $token->getValue()), $token->getLine(), $this->stream->getSourceContext()); 174 …tf('Unknown "%s" tag.', $token->getValue()), $token->getLine(), $this->stream->getSourceContext()); 191 …up in unsupported state.', $this->getCurrentToken()->getLine(), $this->stream->getSourceContext()); 351 …e content inside a {% block %} tag?', $node->getTemplateLine(), $this->stream->getSourceContext()); 362 … Twig 2.5.0 and will become a syntax error in 3.0.', $this->stream->getSourceContext()->getName(),… 370 … Twig 2.5.0 and will become a syntax error in 3.0.', $this->stream->getSourceContext()->getName(),…
|
H A D | ExpressionParser.php | 266 …or "%s".', $token->getValue()), $token->getLine(), $this->parser->getStream()->getSourceContext()); 424 …ng "parent" outside a block is forbidden.', $line, $this->parser->getStream()->getSourceContext()); 435 …tion takes one argument (the block name).', $line, $this->parser->getStream()->getSourceContext()); 613 …st be a string, "%s" given.', \get_class($value)), $token->getLine(), $stream->getSourceContext()); 661 …ntf('You cannot assign a value to "%s".', $value), $token->getLine(), $stream->getSourceContext()); 732 … $e = new SyntaxError(sprintf('Unknown "%s" test.', $name), $line, $stream->getSourceContext()); 750 $src = $stream->getSourceContext(); 762 …r(sprintf('Unknown "%s" function.', $name), $line, $this->parser->getStream()->getSourceContext()); 776 $src = $this->parser->getStream()->getSourceContext(); 788 …ror(sprintf('Unknown "%s" filter.', $name), $line, $this->parser->getStream()->getSourceContext()); [all …]
|
H A D | TemplateWrapper.php | 124 public function getSourceContext(): Source function in Twig\\TemplateWrapper 126 return $this->template->getSourceContext();
|
H A D | TokenStream.php | 128 public function getSourceContext(): Source function in Twig\\TokenStream
|
/template/twigstarter/vendor/twig/twig/src/Node/ |
H A D | ModuleNode.php | 128 ->repr($this->getSourceContext()->getName()) 164 ->write('/* '.str_replace('*/', '* /', $this->getSourceContext()->getName())." */\n") 165 …->write('class '.$compiler->getEnvironment()->getTemplateClass($this->getSourceContext()->getName(… 328 ->repr($this->getSourceContext()->getName()) 367 ->repr($this->getSourceContext()->getName()) 443 … ->string($compiler->getEnvironment()->isDebug() ? $this->getSourceContext()->getCode() : '') 445 ->string($this->getSourceContext()->getName()) 447 ->string($this->getSourceContext()->getPath())
|
H A D | MacroNode.php | 30 …RGS_NAME, $name, self::VARARGS_NAME), $argument->getTemplateLine(), $argument->getSourceContext());
|
H A D | Node.php | 210 public function getSourceContext() function in Twig\\Node\\Node
|
/template/twigstarter/vendor/twig/twig/src/TokenParser/ |
H A D | ExtendsTokenParser.php | 31 …new SyntaxError('Cannot use "extend" in a block.', $token->getLine(), $stream->getSourceContext()); 33 …new SyntaxError('Cannot use "extend" in a macro.', $token->getLine(), $stream->getSourceContext()); 37 …yntaxError('Multiple extends tags are forbidden.', $token->getLine(), $stream->getSourceContext());
|
H A D | ForTokenParser.php | 46 …ondition depends on a variable updated inside the loop).', $stream->getSourceContext()->getName(),… 94 …le cannot be used in a looping condition.', $node->getTemplateLine(), $stream->getSourceContext()); 113 …tion.', $attribute->getAttribute('value')), $node->getTemplateLine(), $stream->getSourceContext());
|
H A D | SetTokenParser.php | 43 …ber of variables and assignments.', $stream->getCurrent()->getLine(), $stream->getSourceContext()); 49 …, you cannot have a multi-target.', $stream->getCurrent()->getLine(), $stream->getSourceContext());
|
H A D | BlockTokenParser.php | 38 …etBlock($name)->getTemplateLine()), $stream->getCurrent()->getLine(), $stream->getSourceContext()); 50 …(but "%s" given).', $name, $value), $stream->getCurrent()->getLine(), $stream->getSourceContext());
|
H A D | SpacelessTokenParser.php | 36 …use the "spaceless" filter with the "apply" tag instead.', $stream->getSourceContext()->getName(),…
|
H A D | SandboxTokenParser.php | 46 …s are allowed within a "sandbox" section.', $node->getTemplateLine(), $stream->getSourceContext());
|
H A D | AutoEscapeTokenParser.php | 34 …rategy must be a string or false.', $stream->getCurrent()->getLine(), $stream->getSourceContext());
|
H A D | UseTokenParser.php | 39 …"use" statement must be a string.', $stream->getCurrent()->getLine(), $stream->getSourceContext());
|
H A D | FilterTokenParser.php | 36 … deprecated since Twig 2.9, use the "apply" tag instead.', $stream->getSourceContext()->getName(),…
|
H A D | MacroTokenParser.php | 44 …(but "%s" given).', $name, $value), $stream->getCurrent()->getLine(), $stream->getSourceContext());
|
H A D | IfTokenParser.php | 64 …ck started at line %d).', $lineno), $stream->getCurrent()->getLine(), $stream->getSourceContext());
|
/template/twigstarter/vendor/twig/twig/src/Node/Expression/ |
H A D | CallExpression.php | 128 …guments for %s "%s".', $callType, $callName), $this->getTemplateLine(), $this->getSourceContext()); 169 … for %s "%s".', $name, $callType, $callName), $this->getTemplateLine(), $this->getSourceContext()); 176 ), $this->getTemplateLine(), $this->getSourceContext()); 198 … for %s "%s".', $name, $callType, $callName), $this->getTemplateLine(), $this->getSourceContext()); 234 … $unknownParameter ? $unknownParameter->getSourceContext() : $this->getSourceContext()
|
/template/twigstarter/vendor/twig/twig/src/Loader/ |
H A D | ChainLoader.php | 50 public function getSourceContext($name) function in Twig\\Loader\\ChainLoader 59 return $loader->getSourceContext($name);
|
H A D | LoaderInterface.php | 33 public function getSourceContext($name); function
|
H A D | ArrayLoader.php | 52 public function getSourceContext($name) function in Twig\\Loader\\ArrayLoader
|
H A D | FilesystemLoader.php | 139 public function getSourceContext($name) function in Twig\\Loader\\FilesystemLoader
|
/template/twigstarter/vendor/twig/twig/src/Error/ |
H A D | Error.php | 116 public function getSourceContext() function in Twig\\Error\\Error 218 $src = $template->getSourceContext();
|