Resets the lexer.
File
- drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Lexer.php, line 76
Class
- Lexer
- Base class for writing simple lexers, i.e. for creating small DSLs.
Namespace
Doctrine\Common
Code
public function reset() {
$this->lookahead = null;
$this->token = null;
$this->peek = 0;
$this->position = 0;
}