Lines Matching refs:options
35 protected $options; variable in Twig\\Lexer
56 public function __construct(Environment $env, array $options = []) argument
60 $this->options = array_merge([
66 ], $options);
69 …'/\s*'.preg_quote($this->options['whitespace_trim'].$this->options['tag_variable'][1], '/').'\s*|\…
70 …/\s*(?:'.preg_quote($this->options['whitespace_trim'].$this->options['tag_block'][1], '/').'\s*|\s…
71 …options['tag_block'][0].$this->options['whitespace_trim'], '/').'|'.preg_quote($this->options['tag…
73 ….preg_quote($this->options['whitespace_trim'], '/').preg_quote($this->options['tag_comment'][1], '…
74 …)\s*(?:'.preg_quote($this->options['whitespace_trim'].$this->options['tag_block'][1], '/').'\s*|\s…
75 … 'lex_block_line' => '/\s*line\s+(\d+)\s*'.preg_quote($this->options['tag_block'][1], '/').'/As',
76 …options['tag_variable'][0], '/').'|'.preg_quote($this->options['tag_block'][0], '/').'|'.preg_quot…
77 … 'interpolation_start' => '/'.preg_quote($this->options['interpolation'][0], '/').'\s*/A',
78 'interpolation_end' => '/\s*'.preg_quote($this->options['interpolation'][1], '/').'/A',
185 case $this->options['tag_comment'][0]:
189 case $this->options['tag_block'][0]:
205 case $this->options['tag_variable'][0]:
316 if (false !== strpos($match[1][0], $this->options['whitespace_trim'])) {
335 $this->brackets[] = [$this->options['interpolation'][0], $this->lineno];
359 …if ($this->options['interpolation'][0] === $bracket[0] && preg_match($this->regexes['interpolation…