\HTML5_InputStream
Synopsis
class HTML5_InputStream
{
- // methods
- public void __construct()
- public void getCurrentLine()
- public void getColumnOffset()
- public void char()
- public void remainingChars()
- public void charsUntil()
- public void charsWhile()
- public void unget()
Members
private
-
$EOF
Length of $data; when $char === $data, we are at the end-of-file. -
$char
The current integer byte position we are in $data -
$data
The string data we're parsing.
public
-
$errors
Parse errors.
Methods
public
- __construct()
- char() — Retrieve the currently consume character.
- charsUntil() — Matches as far as possible until we reach a certain set of bytes and returns the matched substring.
- charsWhile() — Matches as far as possible with a certain set of bytes and returns the matched substring.
- getColumnOffset() — Returns the current column of the current line that the tokenizer is at.
- getCurrentLine() — Returns the current line that the tokenizer is at.
- remainingChars() — Get all characters until EOF.
- unget() — Unconsume one character.