summaryrefslogtreecommitdiff
path: root/src/core/parser/stack/DocumentHandler.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/parser/stack/DocumentHandler.hpp')
-rw-r--r--src/core/parser/stack/DocumentHandler.hpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/core/parser/stack/DocumentHandler.hpp b/src/core/parser/stack/DocumentHandler.hpp
index 7dc4c86..b339b96 100644
--- a/src/core/parser/stack/DocumentHandler.hpp
+++ b/src/core/parser/stack/DocumentHandler.hpp
@@ -144,6 +144,19 @@ public:
return new DocumentChildHandler{handlerData};
}
};
+
+namespace States {
+/**
+ * State constant representing the "document" tag.
+ */
+extern const State Document;
+
+/**
+ * State contstant representing any user-defined element within a document.
+ */
+extern const State DocumentChild;
+}
+
}
namespace RttiTypes {
@@ -152,6 +165,7 @@ namespace RttiTypes {
*/
extern const Rtti DocumentField;
}
+
}
#endif /* _OUSIA_PARSER_STACK_DOCUMENT_HANDLER_HPP_ */