Lines Matching refs:getSourceContext

266 …or "%s".', $token->getValue()), $token->getLine(), $this->parser->getStream()->getSourceContext());
283 …instead.', $token->getValue()), $token->getLine(), $this->parser->getStream()->getSourceContext());
285 …etType()), $token->getValue()), $token->getLine(), $this->parser->getStream()->getSourceContext());
385 …ish($current->getType()), $current->getValue()), $current->getLine(), $stream->getSourceContext());
424 …ng "parent" outside a block is forbidden.', $line, $this->parser->getStream()->getSourceContext());
428 … nor "use" another template is forbidden.', $line, $this->parser->getStream()->getSourceContext());
435 …tion takes one argument (the block name).', $line, $this->parser->getStream()->getSourceContext());
442 …uments (the variable and the attributes).', $line, $this->parser->getStream()->getSourceContext());
491 …token->getValue(), Token::typeToEnglish($token->getType())), $lineno, $stream->getSourceContext());
496 … (called on "%s").', $node->getAttribute('name')), $token->getLine(), $stream->getSourceContext());
613 …st be a string, "%s" given.', \get_class($value)), $token->getLine(), $stream->getSourceContext());
621 …nt (a boolean, a string, a number, or an array).', $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());
802 $src = $this->parser->getStream()->getSourceContext();