You are here

public function Scanner::whitespace in Zircon Profile 8

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

Consume whitespace.

Whitespace in HTML5 is: formfeed, tab, newline, space.

File

vendor/masterminds/html5/src/HTML5/Parser/Scanner.php, line 168

Class

Scanner
The scanner.

Namespace

Masterminds\HTML5\Parser

Code

public function whitespace() {
  return $this->is
    ->charsWhile("\n\t\f ");
}