Lines Matching refs:lineno

27     protected $lineno;  variable in Twig\\Lexer
105 $this->lineno = 1;
146 list($expect, $lineno) = array_pop($this->brackets);
147 throw new SyntaxError(sprintf('Unclosed "%s".', $expect), $lineno, $this->source);
197 $this->lineno = (int) $match[1];
201 $this->currentVarBlockLine = $this->lineno;
208 $this->currentVarBlockLine = $this->lineno;
269 $this->brackets[] = [$this->code[$this->cursor], $this->lineno];
274 …SyntaxError(sprintf('Unexpected "%s".', $this->code[$this->cursor]), $this->lineno, $this->source);
277 list($expect, $lineno) = array_pop($this->brackets);
279 … throw new SyntaxError(sprintf('Unclosed "%s".', $expect), $lineno, $this->source);
293 $this->brackets[] = ['"', $this->lineno];
299 …r(sprintf('Unexpected character "%s".', $this->code[$this->cursor]), $this->lineno, $this->source);
306 …1.21. Use "verbatim" instead in %s at line %d.', $this->filename, $this->lineno), E_USER_DEPRECATE…
310 …Error(sprintf('Unexpected end of file: Unclosed "%s" block.', $tag), $this->lineno, $this->source);
326 throw new SyntaxError('Unclosed comment.', $this->lineno, $this->source);
335 $this->brackets[] = [$this->options['interpolation'][0], $this->lineno];
343 list($expect, $lineno) = array_pop($this->brackets);
345 throw new SyntaxError(sprintf('Unclosed "%s".', $expect), $lineno, $this->source);
352 …r(sprintf('Unexpected character "%s".', $this->code[$this->cursor]), $this->lineno, $this->source);
376 $this->tokens[] = new Token($type, $value, $this->lineno);
382 $this->lineno += substr_count($text, "\n");