Same name in other branches
- 6.0.x advagg_js_minify/jsminplus.inc \JSTokenizer::init()
- 7.x-1.x advagg_js_compress/jsminplus.inc \JSTokenizer::init()
- 7.x-2.x advagg_js_compress/jsminplus.inc \JSTokenizer::init()
- 8.x-2.x advagg_js_minify/jsminplus.inc \JSTokenizer::init()
- 8.x-3.x advagg_js_minify/jsminplus.inc \JSTokenizer::init()
- 8.x-4.x advagg_js_minify/jsminplus.inc \JSTokenizer::init()
Fichier
-
advagg_js_minify/
jsminplus.inc, line 1951
Classe
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;
}