You are here

public function JSTokenizer::getInput in Javascript Aggregator 6

1 call to JSTokenizer::getInput()
JSTokenizer::get in ./jsminplus.php

File

./jsminplus.php, line 1767

Class

JSTokenizer

Code

public function getInput($chunksize) {
  if ($chunksize) {
    return substr($this->source, $this->cursor, $chunksize);
  }
  return substr($this->source, $this->cursor);
}