diff options
Diffstat (limited to 'eo_tokenizer.h')
-rw-r--r-- | eo_tokenizer.h | 72 |
1 files changed, 1 insertions, 71 deletions
diff --git a/eo_tokenizer.h b/eo_tokenizer.h index 6efd2d6..c349a6d 100644 --- a/eo_tokenizer.h +++ b/eo_tokenizer.h @@ -2,6 +2,7 @@ #define __EO_TOKENIZER_H__ #include <Eina.h> +#include "eo_definitions.h" extern int _eo_tokenizer_log_dom; #undef EINA_LOG_DOMAIN_DEFAULT @@ -32,77 +33,6 @@ extern int _eo_tokenizer_log_dom; #endif #define DBG(...) EINA_LOG_DOM_DBG(_eo_tokenizer_log_dom, __VA_ARGS__) -/* RET */ - -typedef struct _eo_ret_def -{ - const char *type; - const char *comment; -} Eo_Ret_Def; - -/* PARAMS */ - -typedef enum _param_way -{ - IN, - OUT, - INOUT, - PARAM_WAY_LAST -} Param_Way; - -typedef struct _eo_param_def -{ - Param_Way way; - const char *type; - const char *name; - const char *comment; -} Eo_Param_Def; - -/* PROPERTIES */ - -typedef enum _eo_accessor_type -{ - SETTER, - GETTER, - ACCESSOR_TYPE_LAST -} Eo_Accessor_Type; - -typedef struct _eo_accessor_def -{ - Eo_Accessor_Type type; - Eo_Ret_Def ret; - 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 */ - -typedef struct _eo_method_def -{ - Eo_Ret_Def ret; - const char *name; - const char *comment; - Eina_List *params; -} Eo_Method_Def; - -/* CLASSES */ - -typedef struct _eo_class_def -{ - const char *name; - const char *comment; - Eina_List *inherits; - Eina_List *properties; - Eina_List *methods; -} Eo_Class_Def; - /* TOKENIZER */ #define BUFSIZE 256 |