summaryrefslogtreecommitdiffstats
path: root/eo_tokenizer.h
diff options
context:
space:
mode:
Diffstat (limited to 'eo_tokenizer.h')
-rw-r--r--eo_tokenizer.h17
1 files changed, 12 insertions, 5 deletions
diff --git a/eo_tokenizer.h b/eo_tokenizer.h
index eb618b9..646dd45 100644
--- a/eo_tokenizer.h
+++ b/eo_tokenizer.h
@@ -60,20 +60,26 @@ typedef struct _eo_param_def
/* PROPERTIES */
-typedef enum _property_type
+typedef enum _eo_accessor_type
{
SETTER,
GETTER,
PROP_TYPE_LAST
-} Property_Type;
+} Eo_Accessor_Type;
-typedef struct _eo_property_def
+typedef struct _eo_accessor_def
{
- Property_Type type;
+ Eo_Accessor_Type type;
Eo_Ret_Def ret;
- const char *name;
const char *comment;
+ Eina_List *legacies;
+} Eo_Accessor_Def;
+
+typedef struct _eo_property_def
+{
+ const char *name;
Eina_List *params;
+ Eina_List *accessors;
} Eo_Property_Def;
/* METHODS */
@@ -130,6 +136,7 @@ typedef struct _eo_tokenizer
Eo_Property_Def *prop;
Eo_Method_Def *meth;
Eo_Param_Def *param;
+ Eo_Accessor_Def *accessor;
} tmp;
} Eo_Tokenizer;