public function AbstractLexer::reset in Service Container 7.2
Same name and namespace in other branches
- 7 modules/providers/service_container_annotation_discovery/lib/Doctrine/lexer/lib/Doctrine/Common/Lexer/AbstractLexer.php \Doctrine\Common\Lexer\AbstractLexer::reset()
Resets the lexer.
1 call to AbstractLexer::reset()
- AbstractLexer::setInput in modules/
providers/ service_container_annotation_discovery/ lib/ Doctrine/ lexer/ lib/ Doctrine/ Common/ Lexer/ AbstractLexer.php - Sets the input data to be tokenized.
File
- modules/
providers/ service_container_annotation_discovery/ lib/ Doctrine/ lexer/ lib/ Doctrine/ Common/ Lexer/ AbstractLexer.php, line 75
Class
- AbstractLexer
- Base class for writing simple lexers, i.e. for creating small DSLs.
Namespace
Doctrine\Common\LexerCode
public function reset() {
$this->lookahead = null;
$this->token = null;
$this->peek = 0;
$this->position = 0;
}