You are here

public function JSTokenizer::unget in Advanced CSS/JS Aggregation 7

Same name and namespace in other branches
  1. 8.4 advagg_js_minify/jsminplus.inc \JSTokenizer::unget()
  2. 8.2 advagg_js_minify/jsminplus.inc \JSTokenizer::unget()
  3. 8.3 advagg_js_minify/jsminplus.inc \JSTokenizer::unget()
  4. 6 advagg_js_compress/jsminplus.inc \JSTokenizer::unget()
  5. 7.2 advagg_js_compress/jsminplus.inc \JSTokenizer::unget()
2 calls to JSTokenizer::unget()
JSTokenizer::match in advagg_js_compress/jsminplus.inc
JSTokenizer::peek in advagg_js_compress/jsminplus.inc

File

advagg_js_compress/jsminplus.inc, line 2238

Class

JSTokenizer

Code

public function unget() {
  if (++$this->lookahead == 4) {
    throw $this
      ->newSyntaxError('PANIC: too much lookahead!');
  }
  $this->tokenIndex = $this->tokenIndex - 1 & 3;
}