Lines Matching refs:getSourceContext
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(),…