Lines Matching refs:source
30 private $source; variable in Twig\\TokenStream
35 * @param string|null $source The source code associated with the tokens
37 public function __construct(array $tokens, $name = null, $source = null) argument
40 if (null !== $name || null !== $source) {
43 $this->source = new Source($source, $name);
45 $this->source = $name;
51 $this->filename = $this->source->getName();
72 …xError('Unexpected end of template.', $this->tokens[$this->current - 1]->getLine(), $this->source);
105 $this->source
123 …expected end of template.', $this->tokens[$this->current + $number - 1]->getLine(), $this->source);
168 return $this->source->getName();
184 return $this->source->getCode();
196 return $this->source;