You are here

public function AbstractLexer::resetPeek in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/lexer/lib/Doctrine/Common/Lexer/AbstractLexer.php \Doctrine\Common\Lexer\AbstractLexer::resetPeek()

Resets the peek pointer to 0.

Return value

void

File

vendor/doctrine/lexer/lib/Doctrine/Common/Lexer/AbstractLexer.php, line 117

Class

AbstractLexer
Base class for writing simple lexers, i.e. for creating small DSLs.

Namespace

Doctrine\Common\Lexer

Code

public function resetPeek() {
  $this->peek = 0;
}