aboutsummaryrefslogtreecommitdiff
path: root/src/doctree.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/doctree.hh')
-rw-r--r--src/doctree.hh9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/doctree.hh b/src/doctree.hh
index f74350b0..53ae76e0 100644
--- a/src/doctree.hh
+++ b/src/doctree.hh
@@ -11,6 +11,15 @@ class DoctreeNode {
const char *id;
};
+/**
+ * \brief HTML document tree interface.
+ *
+ * The Doctree class defines the interface to the parsed HTML document tree
+ * as it is used for CSS selector matching.
+ * Currently the Doctree can be represented as stack, however to support
+ * CSS adjacent siblings or for future JavaScript support it may have to
+ * be extended to a real tree.
+ */
class Doctree {
public:
virtual ~Doctree () {};