Sets the input data to be tokenized.
The Lexer is immediately reset and the new input tokenized. Any unprocessed tokens from any previous input are lost.
string $input The input to be tokenized.:
public function setInput($input) {
$this->tokens = array();
$this
->reset();
$this
->scan($input);
}