You are here

protected function Tokenizer::consumeData in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/masterminds/html5/src/HTML5/Parser/Tokenizer.php \Masterminds\HTML5\Parser\Tokenizer::consumeData()

Consume a character and make a move. HTML5 8.2.4.1

1 call to Tokenizer::consumeData()
Tokenizer::parse in vendor/masterminds/html5/src/HTML5/Parser/Tokenizer.php
Begin parsing.

File

vendor/masterminds/html5/src/HTML5/Parser/Tokenizer.php, line 119

Class

Tokenizer
The HTML5 tokenizer.

Namespace

Masterminds\HTML5\Parser

Code

protected function consumeData() {

  // Character Ref

  /*
   * $this->characterReference() || $this->tagOpen() || $this->eof() || $this->characterData();
   */
  $this
    ->characterReference();
  $this
    ->tagOpen();
  $this
    ->eof();
  $this
    ->characterData();
  return $this->carryOn;
}