summaryrefslogtreecommitdiff
path: root/src/HTML5/Parser/StringInputStream.php
diff options
context:
space:
mode:
authorMatt Butcher <[email protected]>2013-06-28 11:40:28 -0500
committerMatt Butcher <[email protected]>2013-06-28 11:40:28 -0500
commit3e1d8b8d5512082a6dca175de15574f627722c3c (patch)
tree4388413fcd377906440b2df769c81ab8e8e29949 /src/HTML5/Parser/StringInputStream.php
parent5921b94e0a6b5c1abb3ecf6a25e2292bca68a58b (diff)
Documentation updates for Beta 1!
Diffstat (limited to 'src/HTML5/Parser/StringInputStream.php')
-rw-r--r--src/HTML5/Parser/StringInputStream.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/HTML5/Parser/StringInputStream.php b/src/HTML5/Parser/StringInputStream.php
index 9aa0b73..0d2a7f3 100644
--- a/src/HTML5/Parser/StringInputStream.php
+++ b/src/HTML5/Parser/StringInputStream.php
@@ -295,6 +295,9 @@ class StringInputStream implements InputStream {
}
}
+ /**
+ * Look ahead without moving cursor.
+ */
public function peek() {
if (($this->char + 1) <= $this->EOF) {
return $this->data[$this->char + 1];