You are here

public function JSTokenizer::match in Javascript Aggregator 6

1 call to JSTokenizer::match()
JSTokenizer::mustMatch in ./jsminplus.php

File

./jsminplus.php, line 1780

Class

JSTokenizer

Code

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