protected function parseAutoEscape($token) { $autoEscape = $this->stream->expect(array('on', 'off'))->getValue(); $this->stream->expect(Token::BLOCK_END); array_push($this->autoEscape, $autoEscape == 'on' ? true : false); return null; }