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

File

advagg_js_minify/jsminplus.inc, line 2302

Class

JSTokenizer

Code

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