Same name in other branches
  1. 5.0.x advagg_js_minify/jsminplus.inc \JSTokenizer::unget()
  2. 6.0.x advagg_js_minify/jsminplus.inc \JSTokenizer::unget()
  3. 7.x-1.x advagg_js_compress/jsminplus.inc \JSTokenizer::unget()
  4. 8.x-2.x advagg_js_minify/jsminplus.inc \JSTokenizer::unget()
  5. 8.x-3.x advagg_js_minify/jsminplus.inc \JSTokenizer::unget()
  6. 8.x-4.x advagg_js_minify/jsminplus.inc \JSTokenizer::unget()
2 calls to JSTokenizer::unget()
JSTokenizer::match dans advagg_js_compress/jsminplus.inc
JSTokenizer::peek dans advagg_js_compress/jsminplus.inc

Fichier

advagg_js_compress/jsminplus.inc, line 2303

Classe

JSTokenizer

Code

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