public function JSTokenizer::init in Advanced CSS/JS Aggregation 6
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()
- 8.3 advagg_js_minify/jsminplus.inc \JSTokenizer::init()
- 7.2 advagg_js_compress/jsminplus.inc \JSTokenizer::init()
- 7 advagg_js_compress/jsminplus.inc \JSTokenizer::init()
File
- advagg_js_compress/
jsminplus.inc, line 1935
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;
}