Lines Matching refs:getSourceContext

213 …or "%s".', $token->getValue()), $token->getLine(), $this->parser->getStream()->getSourceContext());
230 …instead.', $token->getValue()), $token->getLine(), $this->parser->getStream()->getSourceContext());
232 …etType()), $token->getValue()), $token->getLine(), $this->parser->getStream()->getSourceContext());
323 …ish($current->getType()), $current->getValue()), $current->getLine(), $stream->getSourceContext());
362 …ng "parent" outside a block is forbidden.', $line, $this->parser->getStream()->getSourceContext());
366 … nor "use" another template is forbidden.', $line, $this->parser->getStream()->getSourceContext());
373 …tion takes one argument (the block name).', $line, $this->parser->getStream()->getSourceContext());
380 …uments (the variable and the attributes).', $line, $this->parser->getStream()->getSourceContext());
429 … throw new SyntaxError('Expected name or number.', $lineno, $stream->getSourceContext());
434 … (called on "%s").', $node->getAttribute('name')), $token->getLine(), $stream->getSourceContext());
440 …ed as macro as it is a reserved keyword.', $name), $token->getLine(), $stream->getSourceContext());
550 …st be a string, "%s" given.', \get_class($value)), $token->getLine(), $stream->getSourceContext());
558 …t (a boolean, a string, a number, or an array).'), $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());
733 $src = $this->parser->getStream()->getSourceContext();