Lines Matching refs:lineno
27 private $lineno; variable in Twig\\Lexer
161 $this->lineno = 1;
202 list($expect, $lineno) = array_pop($this->brackets);
203 throw new SyntaxError(sprintf('Unclosed "%s".', $expect), $lineno, $this->source);
258 $this->lineno = (int) $match[1];
262 $this->currentVarBlockLine = $this->lineno;
269 $this->currentVarBlockLine = $this->lineno;
335 $this->brackets[] = [$this->code[$this->cursor], $this->lineno];
340 …SyntaxError(sprintf('Unexpected "%s".', $this->code[$this->cursor]), $this->lineno, $this->source);
343 list($expect, $lineno) = array_pop($this->brackets);
345 … throw new SyntaxError(sprintf('Unclosed "%s".', $expect), $lineno, $this->source);
359 $this->brackets[] = ['"', $this->lineno];
365 …r(sprintf('Unexpected character "%s".', $this->code[$this->cursor]), $this->lineno, $this->source);
372 …ew SyntaxError('Unexpected end of file: Unclosed "verbatim" block.', $this->lineno, $this->source);
396 throw new SyntaxError('Unclosed comment.', $this->lineno, $this->source);
405 $this->brackets[] = [$this->options['interpolation'][0], $this->lineno];
413 list($expect, $lineno) = array_pop($this->brackets);
415 throw new SyntaxError(sprintf('Unclosed "%s".', $expect), $lineno, $this->source);
422 …r(sprintf('Unexpected character "%s".', $this->code[$this->cursor]), $this->lineno, $this->source);
446 $this->tokens[] = new Token($type, $value, $this->lineno);
452 $this->lineno += substr_count($text, "\n");