Home
last modified time | relevance | path

Searched refs:getSourceContext (Results 1 – 25 of 33) sorted by relevance

12

/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Loader/
H A DChainTest.php45 $this->assertEquals('foo', $loader->getSourceContext('foo')->getName());
46 $this->assertSame('', $loader->getSourceContext('foo')->getPath());
48 …$this->assertEquals('errors/index.html', $loader->getSourceContext('errors/index.html')->getName()…
49 $this->assertSame('', $loader->getSourceContext('errors/index.html')->getPath());
50 $this->assertEquals('baz', $loader->getSourceContext('errors/index.html')->getCode());
52 … $this->assertEquals('errors/base.html', $loader->getSourceContext('errors/base.html')->getName());
53 …$this->assertEquals(realpath($path.'/errors/base.html'), realpath($loader->getSourceContext('error…
54 $this->assertNotEquals('baz', $loader->getSourceContext('errors/base.html')->getCode());
64 $loader->getSourceContext('foo');
104 $this->assertEquals('bar', $loader->getSourceContext('foo')->getCode());
H A DFilesystemTest.php22 …$this->assertEquals('errors/index.html', $loader->getSourceContext('errors/index.html')->getName()…
23 …ssertEquals(realpath($path.'/errors/index.html'), realpath($loader->getSourceContext('errors/index…
95 $this->assertEquals("path (final)\n", $loader->getSourceContext('index.html')->getCode());
96 …$this->assertEquals("path (final)\n", $loader->getSourceContext('@__main__/index.html')->getCode()…
97 …$this->assertEquals("named path (final)\n", $loader->getSourceContext('@named/index.html')->getCod…
154 $loader->getSourceContext('@named/nowhere.html');
169 $namedSource = $loader->getSourceContext('@named/index.html')->getCode();
173 $this->assertEquals("path\n", $loader->getSourceContext('index.html')->getCode());
228 $this->assertSame('hello from phar', $loader->getSourceContext('hello.twig')->getCode());
H A DArrayTest.php44 $loader->getSourceContext('foo');
91 $this->assertEquals('bar', $loader->getSourceContext('foo')->getCode());
116 $loader->getSourceContext($name);
/plugin/findologicxmlexport/vendor/twig/twig/src/
H A DTemplate.php93 public function getSourceContext() function in Twig\\Template
134 return $this->parents[$parent->getSourceContext()->getName()] = $parent;
218 if (!$e->getSourceContext()) {
219 $e->setSourceContext($template->getSourceContext());
365 if (!$e->getSourceContext()) {
366 … $e->setSourceContext($templateName ? new Source('', $templateName) : $this->getSourceContext());
429 if (!$e->getSourceContext()) {
430 $e->setSourceContext($this->getSourceContext());
481 …w new RuntimeError(sprintf('Variable "%s" does not exist.', $item), -1, $this->getSourceContext());
550 throw new RuntimeError($message, -1, $this->getSourceContext());
[all …]
H A DParser.php70 …return sprintf('__internal_%s', hash('sha256', __METHOD__.$this->stream->getSourceContext()->getCo…
80 return $this->stream->getSourceContext()->getName();
128 if (!$e->getSourceContext()) {
129 $e->setSourceContext($this->stream->getSourceContext());
139 …de($this->macros), new Node($this->traits), $this->embeddedTemplates, $stream->getSourceContext());
176 …Error('A block must start with a tag name.', $token->getLine(), $this->stream->getSourceContext());
194 …('Unexpected "%s" tag', $token->getValue()), $token->getLine(), $this->stream->getSourceContext());
200 …tf('Unknown "%s" tag.', $token->getValue()), $token->getLine(), $this->stream->getSourceContext());
216 …up in unsupported state.', $this->getCurrentToken()->getLine(), $this->stream->getSourceContext());
290 …s it is a reserved keyword.', $name), $node->getTemplateLine(), $this->stream->getSourceContext());
[all …]
H A DExpressionParser.php362 …ng "parent" outside a block is forbidden.', $line, $this->parser->getStream()->getSourceContext());
373 …tion takes one argument (the block name).', $line, $this->parser->getStream()->getSourceContext());
429 … throw new SyntaxError('Expected name or number.', $lineno, $stream->getSourceContext());
440 …ed as macro as it is a reserved keyword.', $name), $token->getLine(), $stream->getSourceContext());
592 …ntf('You cannot assign a value to "%s".', $value), $token->getLine(), $stream->getSourceContext());
656 … $e = new SyntaxError(sprintf('Unknown "%s" test.', $name), $line, $stream->getSourceContext());
673 $src = $stream->getSourceContext();
689 …r(sprintf('Unknown "%s" function.', $name), $line, $this->parser->getStream()->getSourceContext());
703 $src = $this->parser->getStream()->getSourceContext();
719 …ror(sprintf('Unknown "%s" filter.', $name), $line, $this->parser->getStream()->getSourceContext());
[all …]
H A DTemplateWrapper.php133 public function getSourceContext() function in Twig\\TemplateWrapper
135 return $this->template->getSourceContext();
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/
H A DErrorTest.php61 $this->assertEquals('index.html', $e->getSourceContext()->getName());
89 $this->assertEquals('index.html', $e->getSourceContext()->getName());
106 $this->assertEquals('index.html', $e->getSourceContext()->getName());
125 $this->assertEquals('index.html', $e->getSourceContext()->getName());
148 $this->assertEquals($name, $e->getSourceContext()->getName());
158 $this->assertEquals($name, $e->getSourceContext()->getName());
H A DTokenStreamTest.php41 $this->assertEquals('foo', $stream->getSourceContext()->getName());
42 $this->assertEquals('{{ foo }}', $stream->getSourceContext()->getCode());
/plugin/findologicxmlexport/vendor/twig/twig/src/TokenParser/
H A DExtendsTokenParser.php32 …row new SyntaxError('Cannot extend from a block.', $token->getLine(), $stream->getSourceContext());
36 …yntaxError('Multiple extends tags are forbidden.', $token->getLine(), $stream->getSourceContext());
H A DSetTokenParser.php45 …ber of variables and assignments.', $stream->getCurrent()->getLine(), $stream->getSourceContext());
51 …, you cannot have a multi-target.', $stream->getCurrent()->getLine(), $stream->getSourceContext());
H A DAutoEscapeTokenParser.php49 …ategy must be a string or a bool.', $stream->getCurrent()->getLine(), $stream->getSourceContext());
63 …as you set autoescaping to false.', $stream->getCurrent()->getLine(), $stream->getSourceContext());
H A DBlockTokenParser.php40 …etBlock($name)->getTemplateLine()), $stream->getCurrent()->getLine(), $stream->getSourceContext());
52 …(but "%s" given).', $name, $value), $stream->getCurrent()->getLine(), $stream->getSourceContext());
H A DForTokenParser.php93 …le cannot be used in a looping condition.', $node->getTemplateLine(), $stream->getSourceContext());
112 …tion.', $attribute->getAttribute('value')), $node->getTemplateLine(), $stream->getSourceContext());
H A DSandboxTokenParser.php48 …s are allowed within a "sandbox" section.', $node->getTemplateLine(), $stream->getSourceContext());
H A DUseTokenParser.php41 …"use" statement must be a string.', $stream->getCurrent()->getLine(), $stream->getSourceContext());
H A DFromTokenParser.php56 …orted macro as it is a reserved keyword.', $name), $token->getLine(), $stream->getSourceContext());
H A DMacroTokenParser.php45 …(but "%s" given).', $name, $value), $stream->getCurrent()->getLine(), $stream->getSourceContext());
H A DIfTokenParser.php66 …ck started at line %d).', $lineno), $stream->getCurrent()->getLine(), $stream->getSourceContext());
/plugin/findologicxmlexport/vendor/twig/twig/src/Loader/
H A DChainLoader.php73 public function getSourceContext($name) function in Twig\\Loader\\ChainLoader
83 return $loader->getSourceContext($name);
114 $loader->getSourceContext($name);
H A DSourceContextLoaderInterface.php35 public function getSourceContext($name); function
H A DArrayLoader.php66 public function getSourceContext($name) function in Twig\\Loader\\ArrayLoader
/plugin/findologicxmlexport/vendor/twig/twig/lib/Twig/Loader/
H A DString.php44 public function getSourceContext($name) function in Twig_Loader_String
/plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Extension/Twig/
H A DTwigResource.php36 ? $this->loader->getSourceContext($this->name)->getCode()
/plugin/findologicxmlexport/vendor/twig/twig/src/Error/
H A DError.php190 public function getSourceContext() function in Twig\\Error\\Error
298 $src = $template->getSourceContext();

12