Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Tokenizer.php

function 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 306

Class

Tokenizer
The HTML5 tokenizer.

Namespace

Masterminds\HTML5\Parser

Code

protected function eof() {
    // fprintf(STDOUT, "EOF");
    $this->flushBuffer();
    $this->events
        ->eof();
    $this->carryOn = false;
}
RSS feed
Powered by Drupal