public function JSTokenizer::mustMatch in Advanced CSS/JS Aggregation 6
Same name and namespace in other branches
- 8.4 advagg_js_minify/jsminplus.inc \JSTokenizer::mustMatch()
- 8.2 advagg_js_minify/jsminplus.inc \JSTokenizer::mustMatch()
- 8.3 advagg_js_minify/jsminplus.inc \JSTokenizer::mustMatch()
- 7.2 advagg_js_compress/jsminplus.inc \JSTokenizer::mustMatch()
- 7 advagg_js_compress/jsminplus.inc \JSTokenizer::mustMatch()
File
- advagg_js_compress/
jsminplus.inc, line 1964
Class
Code
public function mustMatch($tt) {
if (!$this
->match($tt)) {
throw $this
->newSyntaxError('Unexpected token; token ' . $tt . ' expected');
}
return $this
->currentToken();
}