summaryrefslogtreecommitdiff
path: root/src/core/parser/stack/Stack.hpp
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-03-03 20:20:40 +0100
committerAndreas Stöckel <andreas@somweyr.de>2015-03-03 20:20:40 +0100
commit42c0480b4fbf80afa0c5b13650a0af74311d7202 (patch)
tree13f40104b4d8ebcb394f9adbf0b6a723889acea9 /src/core/parser/stack/Stack.hpp
parentb6ec0740e027fc1bc7f6d2513583187061bc8f0a (diff)
Implemented annotation handling
Diffstat (limited to 'src/core/parser/stack/Stack.hpp')
-rw-r--r--src/core/parser/stack/Stack.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/parser/stack/Stack.hpp b/src/core/parser/stack/Stack.hpp
index 6d42f10..cbf4bc2 100644
--- a/src/core/parser/stack/Stack.hpp
+++ b/src/core/parser/stack/Stack.hpp
@@ -114,16 +114,17 @@ public:
* to the annotation.
* @param range if true, the annotation fields have an explicit range.
*/
- void annotationStart(const Variant &className, const Variant &args,
+ void annotationStart(const Variant &className, const Variant::mapType &args,
bool range = false);
/**
* Function that should be called whenever an annotation ends.
*
* @param name is the name of the annotation class that was ended.
- * @param annotationName is the name of the annotation that was ended.
+ * @param args contains the arguments that were passed to the annotation end
+ * handler.
*/
- void annotationEnd(const Variant &className, const Variant &elementName);
+ void annotationEnd(const Variant &className, const Variant::mapType &args);
/**
* Function the should be called whenever a ranged command or annotation