Same name in other branches
- 5.0.x advagg_js_minify/jsminplus.inc \JSTokenizer::mustMatch()
- 6.0.x advagg_js_minify/jsminplus.inc \JSTokenizer::mustMatch()
- 7.x-1.x advagg_js_compress/jsminplus.inc \JSTokenizer::mustMatch()
- 7.x-2.x advagg_js_compress/jsminplus.inc \JSTokenizer::mustMatch()
- 8.x-2.x advagg_js_minify/jsminplus.inc \JSTokenizer::mustMatch()
- 8.x-4.x advagg_js_minify/jsminplus.inc \JSTokenizer::mustMatch()
Fichier
-
advagg_js_minify/
jsminplus.inc, line 1980
Classe
Code
public function mustMatch($tt, $op_dot = false) {
if (!$this->match($tt, $op_dot)) {
throw $this->newSyntaxError('Unexpected token; token ' . $tt . ' expected');
}
return $this->currentToken();
}