summaryrefslogtreecommitdiff
path: root/src/treebuilder/in_body.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2008-04-07 02:04:05 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2008-04-07 02:04:05 +0000
commit427ce60a0cf055347b2fd7ac4a37bec59d65c3ac (patch)
treeff3c9fc5b4d0366f5b2066209bbfb0ec824a5f6d /src/treebuilder/in_body.h
parent2ef742b2bbe323e50001bece2116734ec2b01ee0 (diff)
downloadlibhubbub-427ce60a0cf055347b2fd7ac4a37bec59d65c3ac.tar.gz
libhubbub-427ce60a0cf055347b2fd7ac4a37bec59d65c3ac.tar.bz2
Implement "in body" insertion mode.
Modify treebuilder test driver to bring it in line with API changes. A few minimal bits of testdata for various bits of in body. Proper testing will come once we're actually building a tree. svn path=/trunk/hubbub/; revision=4076
Diffstat (limited to 'src/treebuilder/in_body.h')
-rw-r--r--src/treebuilder/in_body.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/treebuilder/in_body.h b/src/treebuilder/in_body.h
new file mode 100644
index 0000000..7d1154e
--- /dev/null
+++ b/src/treebuilder/in_body.h
@@ -0,0 +1,18 @@
+/*
+ * This file is part of Hubbub.
+ * Licensed under the MIT License,
+ * http://www.opensource.org/licenses/mit-license.php
+ * Copyright 2008 John-Mark Bell <jmb@netsurf-browser.org>
+ */
+
+#ifndef hubbub_treebuilder_in_body_h_
+#define hubbub_treebuilder_in_body_h_
+
+#include "treebuilder/internal.h"
+
+bool handle_in_body(hubbub_treebuilder *treebuilder, const hubbub_token *token);
+bool process_tag_in_body(hubbub_treebuilder *treebuilder,
+ const hubbub_token *token);
+
+#endif
+