summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTechnosophos <[email protected]>2013-04-19 18:34:32 -0500
committerTechnosophos <[email protected]>2013-04-19 18:34:32 -0500
commitda188b7251d151ae56773d7b1a3bb88a774fbdf3 (patch)
tree1551b808e6aa405b901c0b0c1523ef74681505d1 /src
parent3abbd5f597060533118897889e05b104fa7597be (diff)
Stubs for tree builder and tests.
Diffstat (limited to 'src')
-rw-r--r--src/HTML5/Parser/DOMTreeBuilder.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/HTML5/Parser/DOMTreeBuilder.php b/src/HTML5/Parser/DOMTreeBuilder.php
new file mode 100644
index 0000000..b0fbdfb
--- /dev/null
+++ b/src/HTML5/Parser/DOMTreeBuilder.php
@@ -0,0 +1,23 @@
+<?php
+namespace HTML5\Parser;
+
+class DOMTreeBuilder implements EventHandler {
+ public function doctype($name, $idType = 0, $id = NULL, $quirks = FALSE) {
+ }
+ public function startTag($name, $attributes = array(), $selfClosing = FALSE) {
+ }
+ public function endTag($name) {
+ }
+ public function comment($cdata) {
+ }
+ public function text($cdata) {
+ }
+ public function eof() {
+ }
+ public function parseError($msg, $line, $col) {
+ }
+ public function cdata($data) {
+ }
+ public function processingInstruction($name, $data = NULL) {
+ }
+}