diff options
Diffstat (limited to 'eo_tokenizer.rl')
-rw-r--r-- | eo_tokenizer.rl | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/eo_tokenizer.rl b/eo_tokenizer.rl index f2e0454..9fd95bc 100644 --- a/eo_tokenizer.rl +++ b/eo_tokenizer.rl @@ -694,7 +694,7 @@ eo_tokenizer_get(void) } static char *_accessor_type_str[ACCESSOR_TYPE_LAST] = { "setter", "getter" }; -/* static char *_param_way_str[PARAM_WAY_LAST] = { "in", "out", "inout" }; */ +static char *_param_way_str[PARAM_WAY_LAST] = { "IN", "OUT", "INOUT" }; void eo_tokenizer_dump(Eo_Tokenizer *toknz) @@ -704,6 +704,7 @@ eo_tokenizer_dump(Eo_Tokenizer *toknz) Eo_Class_Def *kls; Eo_Property_Def *prop; + Eo_Method_Def *meth; Eo_Param_Def *param; Eo_Accessor_Def *accessor; /* Eo_Ret_Def *ret; */ @@ -734,6 +735,19 @@ eo_tokenizer_dump(Eo_Tokenizer *toknz) } } + EINA_LIST_FOREACH(kls->methods, l, meth) + { + printf(" method: %s\n", meth->name); + printf(" return: %s (%s)\n", meth->ret.type, meth->ret.comment); + printf(" legacy : %s\n", meth->legacy); + EINA_LIST_FOREACH(meth->params, m, param) + { + printf(" param: %s %s : %s (%s)\n", + _param_way_str[param->way], param->name, + param->type, param->comment); + } + } + } } |