Lines Matching refs:brackets
31 private $brackets; variable in Twig\\Lexer
166 $this->brackets = [];
201 if (!empty($this->brackets)) {
202 list($expect, $lineno) = array_pop($this->brackets);
276 …if (empty($this->brackets) && preg_match($this->regexes['lex_block'], $this->code, $match, 0, $thi…
287 …if (empty($this->brackets) && preg_match($this->regexes['lex_var'], $this->code, $match, 0, $this-…
335 $this->brackets[] = [$this->code[$this->cursor], $this->lineno];
339 if (empty($this->brackets)) {
343 list($expect, $lineno) = array_pop($this->brackets);
359 $this->brackets[] = ['"', $this->lineno];
405 $this->brackets[] = [$this->options['interpolation'][0], $this->lineno];
413 list($expect, $lineno) = array_pop($this->brackets);
428 $bracket = end($this->brackets);
430 array_pop($this->brackets);