Same name and namespace in other branches
  1. 6.0.x advagg_js_minify/jsminplus.inc \JSTokenizer::mustMatch() 1 commentaire
  2. 7.x-1.x advagg_js_compress/jsminplus.inc \JSTokenizer::mustMatch() 1 commentaire
  3. 7.x-2.x advagg_js_compress/jsminplus.inc \JSTokenizer::mustMatch() 1 commentaire
  4. 8.x-2.x advagg_js_minify/jsminplus.inc \JSTokenizer::mustMatch() 1 commentaire
  5. 8.x-3.x advagg_js_minify/jsminplus.inc \JSTokenizer::mustMatch() 1 commentaire
  6. 8.x-4.x advagg_js_minify/jsminplus.inc \JSTokenizer::mustMatch() 1 commentaire

Fichier

advagg_js_minify/jsminplus.inc, line 1980

Classe

JSTokenizer

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();
}