eolian_mono: add more verbs to generate C# method beginning with verb
authorJaehyun Cho <jae_hyun.cho@samsung.com>
Fri, 20 Sep 2019 22:14:02 +0000 (19:14 -0300)
committerJongmin Lee <jm105.lee@samsung.com>
Sun, 22 Sep 2019 21:11:58 +0000 (06:11 +0900)
commitca2353437bd81676e9b4671f9bec69c86a6cc127
tree41a8ac8363cb68af33f511180b5ee51ab42f92e3
parent26121122093fd0657ea1f13acf1dfe3d0d2e11c1
eolian_mono: add more verbs to generate C# method beginning with verb

Summary:
C# language binding generates C# method name beginning with verb by
checking verb list in name_helpers.hh.

Some verbs used in eo method are missing in the current verb list. So
they are added into the verb list.

In this scheme, there is a problem that some words can be used as a verb
in some methods but they also can be used as a noun in other methods.
(e.g. drag_start as a verb / cursor_word_start as a noun)

So "start" and "scroll" are not added to verb list in this patch.
To resolve the above problem, we may need a new eo syntax to rename or
reverse the name in language bindings.

Test Plan: Check C# method names in .eo.cs files if the name begins with verb.

Reviewers: felipealmeida, SanghyeonLee, woohyun, Jaehyun_Cho, segfaultxavi

Reviewed By: segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D10001
src/bin/eolian_mono/eolian/mono/name_helpers.hh
src/bindings/mono/efl_mono/Bind.cs
src/tests/efl_mono/Parts.cs