public function JSTokenizer::init in Advanced CSS/JS Aggregation 8.3
Same name and namespace in other branches
- 8.4 advagg_js_minify/jsminplus.inc \JSTokenizer::init()
- 8.2 advagg_js_minify/jsminplus.inc \JSTokenizer::init()
- 6 advagg_js_compress/jsminplus.inc \JSTokenizer::init()
- 7.2 advagg_js_compress/jsminplus.inc \JSTokenizer::init()
- 7 advagg_js_compress/jsminplus.inc \JSTokenizer::init()
File
- advagg_js_minify/
jsminplus.inc, line 1951 - JSMinPlus version 1.4
Class
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;
}