diff options
author | Matt Farina <[email protected]> | 2013-04-10 10:33:21 -0400 |
---|---|---|
committer | Matt Farina <[email protected]> | 2013-04-10 10:33:21 -0400 |
commit | 1c8f501203b60ef5aa3cb4fac84d0fe6e2d657e1 (patch) | |
tree | 58518042aa52f796f5bea75bfc83a51ca4dd9abd /src/HTML5 | |
parent | 115ce6b633e14050f93049f96b14bf0b6f5f631f (diff) |
Started unit tests on the scanner.
Diffstat (limited to 'src/HTML5')
-rw-r--r-- | src/HTML5/Parser/Scanner.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/HTML5/Parser/Scanner.php b/src/HTML5/Parser/Scanner.php index 33621fd..0260391 100644 --- a/src/HTML5/Parser/Scanner.php +++ b/src/HTML5/Parser/Scanner.php @@ -36,7 +36,10 @@ class Scanner { } /** - * Take a peek at the next character in the data. + * Take a peek at the character after the next character in the data. + * + * For example, you start scanning the string abc. The pointer is before a. + * When you start peek() will return b while next() will return a. * * @return string * The next character. |