protected function Tokenizer::eof in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/masterminds/html5/src/HTML5/Parser/Tokenizer.php \Masterminds\HTML5\Parser\Tokenizer::eof()
If the document is read, emit an EOF event.
2 calls to Tokenizer::eof()
- Tokenizer::consumeData in vendor/
masterminds/ html5/ src/ HTML5/ Parser/ Tokenizer.php - Consume a character and make a move. HTML5 8.2.4.1
- Tokenizer::doctype in vendor/
masterminds/ html5/ src/ HTML5/ Parser/ Tokenizer.php - Parse a DOCTYPE.
File
- vendor/
masterminds/ html5/ src/ HTML5/ Parser/ Tokenizer.php, line 232
Class
- Tokenizer
- The HTML5 tokenizer.
Namespace
Masterminds\HTML5\ParserCode
protected function eof() {
if ($this->scanner
->current() === false) {
// fprintf(STDOUT, "EOF");
$this
->flushBuffer();
$this->events
->eof();
$this->carryOn = false;
return true;
}
return false;
}