Home
last modified time | relevance | path

Searched refs:getSourceContext (Results 1 – 25 of 28) sorted by last modified time

12

/template/twigstarter/vendor/twig/twig/src/Loader/
H A DArrayLoader.php52 public function getSourceContext($name) function in Twig\\Loader\\ArrayLoader
H A DChainLoader.php50 public function getSourceContext($name) function in Twig\\Loader\\ChainLoader
59 return $loader->getSourceContext($name);
H A DFilesystemLoader.php139 public function getSourceContext($name) function in Twig\\Loader\\FilesystemLoader
H A DLoaderInterface.php33 public function getSourceContext($name); function
/template/twigstarter/vendor/twig/twig/src/TokenParser/
H A DIfTokenParser.php64 …ck started at line %d).', $lineno), $stream->getCurrent()->getLine(), $stream->getSourceContext());
H A DSandboxTokenParser.php46 …s are allowed within a "sandbox" section.', $node->getTemplateLine(), $stream->getSourceContext());
H A DAutoEscapeTokenParser.php34 …rategy must be a string or false.', $stream->getCurrent()->getLine(), $stream->getSourceContext());
H A DBlockTokenParser.php38 …etBlock($name)->getTemplateLine()), $stream->getCurrent()->getLine(), $stream->getSourceContext());
50 …(but "%s" given).', $name, $value), $stream->getCurrent()->getLine(), $stream->getSourceContext());
H A DFilterTokenParser.php36 … deprecated since Twig 2.9, use the "apply" tag instead.', $stream->getSourceContext()->getName(),…
H A DForTokenParser.php46 …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 DUseTokenParser.php39 …"use" statement must be a string.', $stream->getCurrent()->getLine(), $stream->getSourceContext());
H A DMacroTokenParser.php44 …(but "%s" given).', $name, $value), $stream->getCurrent()->getLine(), $stream->getSourceContext());
H A DSetTokenParser.php43 …ber of variables and assignments.', $stream->getCurrent()->getLine(), $stream->getSourceContext());
49 …, you cannot have a multi-target.', $stream->getCurrent()->getLine(), $stream->getSourceContext());
H A DSpacelessTokenParser.php36 …use the "spaceless" filter with the "apply" tag instead.', $stream->getSourceContext()->getName(),…
/template/twigstarter/vendor/twig/twig/src/
H A DParser.php103 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 DExpressionParser.php266 …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 DTemplateWrapper.php124 public function getSourceContext(): Source function in Twig\\TemplateWrapper
126 return $this->template->getSourceContext();
H A DTokenStream.php128 public function getSourceContext(): Source function in Twig\\TokenStream
H A DEnvironment.php407 $source = $this->getLoader()->getSourceContext($name);
/template/twigstarter/vendor/twig/twig/src/Extension/
H A DCoreExtension.php1310 return $loader->getSourceContext($name)->getCode();
/template/twigstarter/vendor/twig/twig/src/Node/
H A DMacroNode.php30 …RGS_NAME, $name, self::VARARGS_NAME), $argument->getTemplateLine(), $argument->getSourceContext());
H A DModuleNode.php128 ->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 DNode.php210 public function getSourceContext() function in Twig\\Node\\Node
/template/twigstarter/vendor/twig/twig/src/Error/
H A DError.php116 public function getSourceContext() function in Twig\\Error\\Error
218 $src = $template->getSourceContext();
/template/twigstarter/vendor/twig/twig/src/Node/Expression/
H A DCallExpression.php128 …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()

12