public function JSTokenizer::mustMatch in Advanced CSS/JS Aggregation 7
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()
- 6 advagg_js_compress/jsminplus.inc \JSTokenizer::mustMatch()
- 7.2 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();
}