Same name in other branches
  1. 6.0.x advagg_js_minify/jsminplus.inc \JSTokenizer::init()
  2. 7.x-1.x advagg_js_compress/jsminplus.inc \JSTokenizer::init()
  3. 7.x-2.x advagg_js_compress/jsminplus.inc \JSTokenizer::init()
  4. 8.x-2.x advagg_js_minify/jsminplus.inc \JSTokenizer::init()
  5. 8.x-3.x advagg_js_minify/jsminplus.inc \JSTokenizer::init()
  6. 8.x-4.x advagg_js_minify/jsminplus.inc \JSTokenizer::init()

Fichier

advagg_js_minify/jsminplus.inc, line 1951

Classe

JSTokenizer

Code

public function init($source, $filename = '', $lineno = 1) {
    $this->source = $source;
    $this->filename = $filename ? $filename : '[inline]';
    $this->lineno = $lineno;
    $this->cursor = 0;
    $this->tokens = array();
    $this->tokenIndex = 0;
    $this->lookahead = 0;
    $this->scanNewlines = false;
    $this->scanOperand = true;
}