You are here

public function JSTokenizer::match in Advanced CSS/JS Aggregation 6

Same name and namespace in other branches
  1. 8.4 advagg_js_minify/jsminplus.inc \JSTokenizer::match()
  2. 8.2 advagg_js_minify/jsminplus.inc \JSTokenizer::match()
  3. 8.3 advagg_js_minify/jsminplus.inc \JSTokenizer::match()
  4. 7.2 advagg_js_compress/jsminplus.inc \JSTokenizer::match()
  5. 7 advagg_js_compress/jsminplus.inc \JSTokenizer::match()
1 call to JSTokenizer::match()
JSTokenizer::mustMatch in advagg_js_compress/jsminplus.inc

File

advagg_js_compress/jsminplus.inc, line 1960

Class

JSTokenizer

Code

public function match($tt) {
  return $this
    ->get() == $tt || $this
    ->unget();
}