From 42c0480b4fbf80afa0c5b13650a0af74311d7202 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Tue, 3 Mar 2015 20:20:40 +0100 Subject: Implemented annotation handling --- src/core/parser/stack/Stack.hpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/core/parser/stack/Stack.hpp') 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 -- cgit v1.2.3