aboutsummaryrefslogtreecommitdiffstats
path: root/src/event.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/event.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/event.rs b/src/event.rs
index 1eab55b..244d3aa 100644
--- a/src/event.rs
+++ b/src/event.rs
@@ -1 +1,12 @@
// tags, declaration, comments, text. individual bits and what they contain, e.g. tag contains attributes and namespace declarations, lang, ONLY within the tag
+
+pub enum Event<'s> {
+ StartTag(Vec<Event<'s>>),
+ EmptyTag(Vec<Event>),
+ Attribute(())
+ CData(&'s str),
+ Comment(&'s str),
+ Declaration(Vec<Attribute<'s>>),
+ Attribute((&'str))
+ EndTag,
+}