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.hpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/core/parser/stack/DocumentHandler.hpp b/src/core/parser/stack/DocumentHandler.hpp
index 5157709..0a32267 100644
--- a/src/core/parser/stack/DocumentHandler.hpp
+++ b/src/core/parser/stack/DocumentHandler.hpp
@@ -159,6 +159,12 @@ private:
DocumentEntity *&parent);
/**
+ * Removes the transparent elements created by the createPath() method from
+ * the Scope.
+ */
+ void rollbackPath();
+
+ /**
* Tries to convert the given data to the type that is specified in the
* given primitive field.
*
@@ -174,6 +180,17 @@ private:
Logger &logger);
/**
+ * Fetches the top-most non-transparent descriptor from the scope, gets the
+ * permitted tokens of this descriptor and filters them to those tokens
+ * which are actually possible, according to the current content of the
+ * ParserScope.
+ *
+ * @param fieldDescr is the field descriptor of which the tokens should be
+ * registered.
+ */
+ void pushScopeTokens();
+
+ /**
* Pushes a new DocumentField onto the scope stack and registers all
* premitted tokens in the parser.
*/