diff options
author | Technosophos <[email protected]> | 2013-04-10 11:09:59 -0500 |
---|---|---|
committer | Technosophos <[email protected]> | 2013-04-10 11:09:59 -0500 |
commit | 926d5cdb70cae58bdb06d549f777591086b67b6f (patch) | |
tree | d11ef62dfedfb8dd2278e2ed581a95557140774c /src | |
parent | 00fc6a82f4dbbb4ac475489a7bd86bf1e665eaa4 (diff) | |
parent | 734464d5194b7a7ada25376955859b0d3a608ab1 (diff) |
Merge branch 'master' of github.com:technosophos/HTML5-PHP
Diffstat (limited to 'src')
-rw-r--r-- | src/HTML5/Parser/Scanner.php | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/HTML5/Parser/Scanner.php b/src/HTML5/Parser/Scanner.php index 2500dab..10698d7 100644 --- a/src/HTML5/Parser/Scanner.php +++ b/src/HTML5/Parser/Scanner.php @@ -18,7 +18,7 @@ class Scanner { /** * Create a new Scanner. * - * @param \HTML5\InputStream $input + * @param \HTML5\Parser\InputStream $input * An InputStream to be scanned. */ public function __construct($input) { @@ -36,10 +36,7 @@ class Scanner { } /** - * 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. + * Take a peek at the next character in the data. * * @return string * The next character. @@ -86,15 +83,13 @@ class Scanner { } /** - * Get the next group of that is a hex value. + * Get the next group of that contains hex characters. * * Note, along with getting the characters the pointer in the data will be * moved as well. - * - * @todo There is a potential for many false positives with this method. Make it more accurate. * * @return string - * The next group that is a hex value. + * The next group that is hex characters. */ public function getHex() { return $this->is->charsWhile(self::CHARS_HEX); |