Lines Matching refs:brackets
31 protected $brackets; variable in Twig\\Lexer
110 $this->brackets = [];
145 if (!empty($this->brackets)) {
146 list($expect, $lineno) = array_pop($this->brackets);
215 …if (empty($this->brackets) && preg_match($this->regexes['lex_block'], $this->code, $match, null, $…
226 …if (empty($this->brackets) && preg_match($this->regexes['lex_var'], $this->code, $match, null, $th…
269 $this->brackets[] = [$this->code[$this->cursor], $this->lineno];
273 if (empty($this->brackets)) {
277 list($expect, $lineno) = array_pop($this->brackets);
293 $this->brackets[] = ['"', $this->lineno];
335 $this->brackets[] = [$this->options['interpolation'][0], $this->lineno];
343 list($expect, $lineno) = array_pop($this->brackets);
358 $bracket = end($this->brackets);
360 array_pop($this->brackets);