summaryrefslogtreecommitdiff
path: root/src/core/parser/ParserScope.hpp
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-02-18 10:46:13 +0100
committerAndreas Stöckel <andreas@somweyr.de>2015-02-18 10:46:13 +0100
commitd76cf800ea9a61ff3860636707558802c00da401 (patch)
tree482514c1f801347ad2267551f9fe3e50aad8678d /src/core/parser/ParserScope.hpp
parent493acd119d730207524cd69fa25868c978bdf0f9 (diff)
Implemented automatic validation of RootNode instances in ParserScope
Diffstat (limited to 'src/core/parser/ParserScope.hpp')
-rw-r--r--src/core/parser/ParserScope.hpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/core/parser/ParserScope.hpp b/src/core/parser/ParserScope.hpp
index 24af6b8..fa78c17 100644
--- a/src/core/parser/ParserScope.hpp
+++ b/src/core/parser/ParserScope.hpp
@@ -423,9 +423,14 @@ public:
void push(Handle<Node> node);
/**
- * Removes the last pushed node from the scope.
+ * Removes the last pushed node from the scope. If the node that is popped
+ * from the internal stack is a RootNode, pending resolutions are performed
+ * and the RootNode is validated.
+ *
+ * @param logger is the Logger instance to which error messages should be
+ * logged.
*/
- void pop();
+ void pop(Logger &logger);
/**
* Returns the top-level nodes. These are the nodes that are pushed onto the