eolian: enforce specification of both get and set in prop impls

Now you can't use the same syntax as you would for a method to
implement a property as whole, instead you need to specify the
getter and/or setter explicitly. This is to allow parent classes
to expand their properties without altering behavior of the child
classes.
This commit is contained in:
Daniel Kolesa 2017-01-11 16:35:03 +01:00
parent b23289a2a0
commit 85fbc333dd
48 changed files with 172 additions and 132 deletions

View File

@ -251,12 +251,12 @@ class Efl.Io.Buffered_Stream (Efl.Loop_User, Efl.Io.Reader, Efl.Io.Writer, Efl.I
Efl.Object.destructor;
Efl.Io.Closer.close;
Efl.Io.Closer.closed { get; }
Efl.Io.Closer.close_on_exec;
Efl.Io.Closer.close_on_destructor;
Efl.Io.Closer.close_on_exec { get; set; }
Efl.Io.Closer.close_on_destructor { get; set; }
Efl.Io.Reader.read;
Efl.Io.Reader.can_read;
Efl.Io.Reader.eos;
Efl.Io.Reader.can_read { get; set; }
Efl.Io.Reader.eos { get; set; }
Efl.Io.Writer.write;
Efl.Io.Writer.can_write;
Efl.Io.Writer.can_write { get; set; }
}
}

View File

@ -18,7 +18,7 @@ mixin Efl.Io.Closer.Fd (Efl.Io.Closer) {
implements {
Efl.Io.Closer.close;
Efl.Io.Closer.closed { get; }
Efl.Io.Closer.close_on_exec;
Efl.Io.Closer.close_on_destructor;
Efl.Io.Closer.close_on_exec { get; set; }
Efl.Io.Closer.close_on_destructor { get; set; }
}
}

View File

@ -375,7 +375,7 @@ class Efl.Io.Copier (Efl.Loop_User, Efl.Io.Closer) {
Efl.Object.finalize;
Efl.Io.Closer.close;
Efl.Io.Closer.closed { get; }
Efl.Io.Closer.close_on_exec;
Efl.Io.Closer.close_on_destructor;
Efl.Io.Closer.close_on_exec { get; set; }
Efl.Io.Closer.close_on_destructor { get; set; }
}
}

View File

@ -51,7 +51,7 @@ class Efl.Io.File (Efl.Loop.Fd, Efl.File, Efl.Io.Reader.Fd, Efl.Io.Writer.Fd, Ef
Efl.Object.destructor;
Efl.Object.finalize;
Efl.Loop.Fd.fd_file { set; }
Efl.File.file;
Efl.File.file { get; set; }
Efl.Io.Reader.read;
Efl.Io.Writer.write;
Efl.Io.Closer.close;

View File

@ -4,7 +4,7 @@ class Ecore.Audio.In.Tone (Ecore.Audio.In)
eo_prefix: ecore_audio_obj_in_tone;
implements {
Efl.Object.constructor;
Efl.Object.key_data;
Efl.Object.key_data { get; set; }
Ecore.Audio.In.length { set; }
Ecore.Audio.In.seek;
Ecore.Audio.In.read_internal;

View File

@ -395,12 +395,12 @@ class Efl.Net.Dialer.Http (Efl.Loop_User, Efl.Net.Dialer, Efl.Io.Sizer) {
Efl.Object.constructor;
Efl.Object.destructor;
Efl.Net.Dialer.dial;
Efl.Net.Dialer.address_dial;
Efl.Net.Dialer.connected;
Efl.Net.Dialer.proxy;
Efl.Net.Dialer.timeout_dial;
Efl.Net.Socket.address_local;
Efl.Net.Socket.address_remote;
Efl.Net.Dialer.address_dial { get; set; }
Efl.Net.Dialer.connected { get; set; }
Efl.Net.Dialer.proxy { get; set; }
Efl.Net.Dialer.timeout_dial { get; set; }
Efl.Net.Socket.address_local { get; set; }
Efl.Net.Socket.address_remote { get; set; }
Efl.Io.Reader.read;
Efl.Io.Reader.can_read { get; set; }
Efl.Io.Reader.eos { get; set; }
@ -408,8 +408,8 @@ class Efl.Net.Dialer.Http (Efl.Loop_User, Efl.Net.Dialer, Efl.Io.Sizer) {
Efl.Io.Writer.can_write { get; set; }
Efl.Io.Closer.close;
Efl.Io.Closer.closed { get; }
Efl.Io.Closer.close_on_exec;
Efl.Io.Closer.close_on_destructor;
Efl.Io.Closer.close_on_exec { get; set; }
Efl.Io.Closer.close_on_destructor { get; set; }
Efl.Io.Sizer.resize;
Efl.Io.Sizer.size { get; }
}

View File

@ -74,12 +74,12 @@ class Efl.Net.Dialer.Simple (Efl.Net.Socket.Simple, Efl.Net.Dialer) {
Efl.Net.Dialer.dial;
Efl.Net.Dialer.address_dial { get; }
Efl.Net.Dialer.connected { get; }
Efl.Net.Dialer.proxy;
Efl.Net.Dialer.timeout_dial;
Efl.Io.Buffered_Stream.timeout_inactivity;
Efl.Io.Buffered_Stream.max_queue_size_input;
Efl.Io.Buffered_Stream.max_queue_size_output;
Efl.Io.Buffered_Stream.read_chunk_size;
Efl.Io.Buffered_Stream.line_delimiter;
Efl.Net.Dialer.proxy { get; set; }
Efl.Net.Dialer.timeout_dial { get; set; }
Efl.Io.Buffered_Stream.timeout_inactivity { get; set; }
Efl.Io.Buffered_Stream.max_queue_size_input { get; set; }
Efl.Io.Buffered_Stream.max_queue_size_output { get; set; }
Efl.Io.Buffered_Stream.read_chunk_size { get; set; }
Efl.Io.Buffered_Stream.line_delimiter { get; set; }
}
}

View File

@ -70,9 +70,9 @@ class Efl.Net.Dialer.Ssl (Efl.Net.Socket.Ssl, Efl.Net.Dialer) {
Efl.Object.finalize;
Efl.Net.Dialer.dial;
Efl.Net.Dialer.address_dial { get; }
Efl.Net.Dialer.connected;
Efl.Net.Dialer.proxy;
Efl.Net.Dialer.timeout_dial;
Efl.Net.Dialer.connected { get; set; }
Efl.Net.Dialer.proxy { get; set; }
Efl.Net.Dialer.timeout_dial { get; set; }
Efl.Io.Closer.close;
}
}

View File

@ -26,10 +26,10 @@ class Efl.Net.Dialer.Tcp (Efl.Net.Socket.Tcp, Efl.Net.Dialer) {
Efl.Object.constructor;
Efl.Object.destructor;
Efl.Net.Dialer.dial;
Efl.Net.Dialer.address_dial;
Efl.Net.Dialer.connected;
Efl.Net.Dialer.proxy;
Efl.Net.Dialer.timeout_dial;
Efl.Net.Dialer.address_dial { get; set; }
Efl.Net.Dialer.connected { get; set; }
Efl.Net.Dialer.proxy { get; set; }
Efl.Net.Dialer.timeout_dial { get; set; }
Efl.Io.Closer.close;
}
}

View File

@ -29,9 +29,9 @@ class Efl.Net.Dialer.Udp (Efl.Net.Socket.Udp, Efl.Net.Dialer) {
Efl.Object.constructor;
Efl.Object.destructor;
Efl.Net.Dialer.dial;
Efl.Net.Dialer.address_dial;
Efl.Net.Dialer.connected;
Efl.Net.Dialer.timeout_dial;
Efl.Net.Dialer.address_dial { get; set; }
Efl.Net.Dialer.connected { get; set; }
Efl.Net.Dialer.timeout_dial { get; set; }
Efl.Io.Closer.close;
}
}

View File

@ -14,9 +14,9 @@ class Efl.Net.Dialer.Unix (Efl.Net.Socket.Unix, Efl.Net.Dialer) {
Efl.Object.constructor;
Efl.Object.destructor;
Efl.Net.Dialer.dial;
Efl.Net.Dialer.address_dial;
Efl.Net.Dialer.connected;
Efl.Net.Dialer.timeout_dial;
Efl.Net.Dialer.address_dial { get; set; }
Efl.Net.Dialer.connected { get; set; }
Efl.Net.Dialer.timeout_dial { get; set; }
Efl.Io.Closer.close;
}
}

View File

@ -316,12 +316,12 @@ class Efl.Net.Dialer.Websocket (Efl.Loop_User, Efl.Net.Dialer) {
Efl.Object.constructor;
Efl.Object.destructor;
Efl.Net.Dialer.dial;
Efl.Net.Dialer.address_dial;
Efl.Net.Dialer.connected;
Efl.Net.Dialer.proxy;
Efl.Net.Dialer.timeout_dial;
Efl.Net.Dialer.address_dial { get; set; }
Efl.Net.Dialer.connected { get; set; }
Efl.Net.Dialer.proxy { get; set; }
Efl.Net.Dialer.timeout_dial { get; set; }
Efl.Net.Socket.address_local { get; }
Efl.Net.Socket.address_remote;
Efl.Net.Socket.address_remote { get; set; }
Efl.Io.Reader.read;
Efl.Io.Reader.can_read { get; set; }
Efl.Io.Reader.eos { get; }
@ -329,7 +329,7 @@ class Efl.Net.Dialer.Websocket (Efl.Loop_User, Efl.Net.Dialer) {
Efl.Io.Writer.can_write { get; set; }
Efl.Io.Closer.close;
Efl.Io.Closer.closed { get; }
Efl.Io.Closer.close_on_exec;
Efl.Io.Closer.close_on_destructor;
Efl.Io.Closer.close_on_exec { get; set; }
Efl.Io.Closer.close_on_destructor { get; set; }
}
}

View File

@ -156,10 +156,10 @@ class Efl.Net.Server.Fd (Efl.Loop.Fd, Efl.Net.Server) {
Efl.Object.constructor;
Efl.Object.destructor;
Efl.Loop.Fd.fd { set; }
Efl.Net.Server.address;
Efl.Net.Server.clients_count;
Efl.Net.Server.clients_limit;
Efl.Net.Server.serving;
Efl.Net.Server.address { get; set; }
Efl.Net.Server.clients_count { get; set; }
Efl.Net.Server.clients_limit { get; set; }
Efl.Net.Server.serving { get; set; }
Efl.Net.Server.serve;
Efl.Net.Server.client_announce;
}

View File

@ -49,7 +49,7 @@ class Efl.Net.Server.Simple (Efl.Loop_User, Efl.Net.Server) {
Efl.Net.Server.client_announce;
Efl.Net.Server.address { get; }
Efl.Net.Server.clients_count { get; }
Efl.Net.Server.clients_limit;
Efl.Net.Server.clients_limit { get; set; }
Efl.Net.Server.serving { get; }
}
}

View File

@ -141,7 +141,7 @@ class Efl.Net.Server.Ssl (Efl.Loop_User, Efl.Net.Server) {
Efl.Net.Server.client_announce;
Efl.Net.Server.address { get; }
Efl.Net.Server.clients_count { get; }
Efl.Net.Server.clients_limit;
Efl.Net.Server.clients_limit { get; set; }
Efl.Net.Server.serving { get; }
}
}

View File

@ -29,14 +29,14 @@ class Efl.Net.Server.Udp.Client (Efl.Object, Efl.Net.Socket) {
Efl.Object.destructor;
Efl.Io.Closer.close;
Efl.Io.Closer.closed { get; }
Efl.Io.Closer.close_on_destructor;
Efl.Io.Closer.close_on_exec;
Efl.Io.Reader.can_read;
Efl.Io.Reader.eos;
Efl.Io.Closer.close_on_destructor { get; set; }
Efl.Io.Closer.close_on_exec { get; set; }
Efl.Io.Reader.can_read { get; set; }
Efl.Io.Reader.eos { get; set; }
Efl.Io.Reader.read;
Efl.Io.Writer.write;
Efl.Io.Writer.can_write;
Efl.Net.Socket.address_local;
Efl.Net.Socket.address_remote;
Efl.Io.Writer.can_write { get; set; }
Efl.Net.Socket.address_local { get; set; }
Efl.Net.Socket.address_remote { get; set; }
}
}

View File

@ -41,7 +41,7 @@ class Efl.Net.Socket.Fd (Efl.Loop.Fd, Efl.Io.Reader.Fd, Efl.Io.Writer.Fd, Efl.Io
Efl.Io.Reader.eos { set; }
Efl.Io.Writer.write;
Efl.Io.Writer.can_write { set; }
Efl.Net.Socket.address_local;
Efl.Net.Socket.address_remote;
Efl.Net.Socket.address_local { get; set; }
Efl.Net.Socket.address_remote { get; set; }
}
}

View File

@ -88,13 +88,13 @@ class Efl.Net.Socket.Ssl (Efl.Loop_User, Efl.Net.Socket) {
Efl.Object.finalize;
Efl.Io.Closer.close;
Efl.Io.Closer.closed { get; }
Efl.Io.Closer.close_on_exec;
Efl.Io.Closer.close_on_destructor;
Efl.Io.Closer.close_on_exec { get; set; }
Efl.Io.Closer.close_on_destructor { get; set; }
Efl.Io.Reader.read;
Efl.Io.Reader.can_read;
Efl.Io.Reader.eos;
Efl.Io.Reader.can_read { get; set; }
Efl.Io.Reader.eos { get; set; }
Efl.Io.Writer.write;
Efl.Io.Writer.can_write;
Efl.Io.Writer.can_write { get; set; }
Efl.Net.Socket.address_remote { get; }
Efl.Net.Socket.address_local { get; }
}

View File

@ -152,8 +152,8 @@ class Efl.Io.Buffer (Efl.Object, Efl.Io.Reader, Efl.Io.Writer, Efl.Io.Closer, Ef
Efl.Io.Writer.can_write { get; set; }
Efl.Io.Closer.close;
Efl.Io.Closer.closed { get; }
Efl.Io.Closer.close_on_exec;
Efl.Io.Closer.close_on_destructor;
Efl.Io.Closer.close_on_exec { get; set; }
Efl.Io.Closer.close_on_destructor { get; set; }
Efl.Io.Sizer.resize;
Efl.Io.Sizer.size { get; }
Efl.Io.Positioner.seek;

View File

@ -115,7 +115,7 @@ class Efl.Io.Queue (Efl.Object, Efl.Io.Reader, Efl.Io.Writer, Efl.Io.Closer) {
Efl.Io.Writer.can_write { get; set; }
Efl.Io.Closer.close;
Efl.Io.Closer.closed { get; }
Efl.Io.Closer.close_on_exec;
Efl.Io.Closer.close_on_destructor;
Efl.Io.Closer.close_on_exec { get; set; }
Efl.Io.Closer.close_on_destructor { get; set; }
}
}

View File

@ -7,9 +7,9 @@ class Efl.Ui.Internal.Text.Interactive (Efl.Canvas.Text, Efl.Ui.Text.Interactive
implements {
Efl.Object.constructor;
Efl.Object.finalize;
Efl.Ui.Text.Interactive.selection_allowed;
Efl.Ui.Text.Interactive.selection_allowed { get; set; }
Efl.Ui.Text.Interactive.selection_cursors { get; }
Efl.Ui.Text.Interactive.multiline;
Efl.Ui.Text.Interactive.editable;
Efl.Ui.Text.Interactive.multiline { get; set; }
Efl.Ui.Text.Interactive.editable { get; set; }
}
}

View File

@ -173,7 +173,7 @@ class Elm.Ctxpopup (Elm.Layout, Elm.Interface.Atspi_Widget_Action,
Elm.Layout.sizing_eval;
Elm.Interface.Atspi_Widget_Action.elm_actions { get; }
Elm.Interface.Atspi_Accessible.state_set { get; }
Efl.Orientation.orientation;
Efl.Orientation.orientation { get; set; }
Efl.Part.part;
}
events {

View File

@ -20,7 +20,7 @@ class Elm.Ctxpopup.Item(Elm.Widget.Item, Efl.Ui.Item)
Elm.Widget.Item.part_text { get; set; }
Elm.Widget.Item.part_content { get; set; }
Elm.Widget.Item.focus { get; set; }
Efl.Ui.Item.selected;
Efl.Ui.Item.selected { get; set; }
Efl.Ui.Item.prev { get; }
Efl.Ui.Item.next { get; }
}

View File

@ -211,7 +211,7 @@ class Elm.Diskselector (Elm.Widget, Elm.Interface_Scrollable,
Elm.Widget.translate;
Elm.Widget.sub_object_del;
Elm.Widget.widget_event;
Elm.Interface_Scrollable.policy;
Elm.Interface_Scrollable.policy { get; set; }
Elm.Interface.Atspi_Widget_Action.elm_actions { get; }
}
}

View File

@ -49,18 +49,18 @@ class Elm.Fileselector (Elm.Layout, Elm.Interface.Fileselector,
Elm.Interface.Fileselector.selected_model_get;
Elm.Interface.Fileselector.selected_model_set;
Elm.Interface.Fileselector.custom_filter_append;
Elm.Interface.Fileselector.expandable;
Elm.Interface.Fileselector.thumbnail_size;
Elm.Interface.Fileselector.expandable { get; set; }
Elm.Interface.Fileselector.thumbnail_size { get; set; }
Elm.Interface.Fileselector.mime_types_filter_append;
Elm.Interface.Fileselector.hidden_visible;
Elm.Interface.Fileselector.hidden_visible { get; set; }
Elm.Interface.Fileselector.filters_clear;
Elm.Interface.Fileselector.is_save;
Elm.Interface.Fileselector.model;
Elm.Interface.Fileselector.sort_method;
Elm.Interface.Fileselector.multi_select;
Elm.Interface.Fileselector.folder_only;
Elm.Interface.Fileselector.mode;
Elm.Interface.Fileselector.current_name;
Elm.Interface.Fileselector.is_save { get; set; }
Elm.Interface.Fileselector.model { get; set; }
Elm.Interface.Fileselector.sort_method { get; set; }
Elm.Interface.Fileselector.multi_select { get; set; }
Elm.Interface.Fileselector.folder_only { get; set; }
Elm.Interface.Fileselector.mode { get; set; }
Elm.Interface.Fileselector.current_name { get; set; }
Elm.Interface.Atspi_Widget_Action.elm_actions { get; }
}
events {

View File

@ -9,17 +9,17 @@ class Elm.Fileselector_Button (Elm.Button, Elm.Interface.Fileselector)
Elm.Widget.theme_apply;
Elm.Button.admits_autorepeat { get; }
Elm.Interface.Fileselector.selected_models { get; }
Elm.Interface.Fileselector.expandable;
Elm.Interface.Fileselector.thumbnail_size;
Elm.Interface.Fileselector.expandable { get; set; }
Elm.Interface.Fileselector.thumbnail_size { get; set; }
Elm.Interface.Fileselector.selected_model_get;
Elm.Interface.Fileselector.selected_model_set;
Elm.Interface.Fileselector.hidden_visible;
Elm.Interface.Fileselector.is_save;
Elm.Interface.Fileselector.model;
Elm.Interface.Fileselector.sort_method;
Elm.Interface.Fileselector.multi_select;
Elm.Interface.Fileselector.folder_only;
Elm.Interface.Fileselector.mode;
Elm.Interface.Fileselector.hidden_visible { get; set; }
Elm.Interface.Fileselector.is_save { get; set; }
Elm.Interface.Fileselector.model { get; set; }
Elm.Interface.Fileselector.sort_method { get; set; }
Elm.Interface.Fileselector.multi_select { get; set; }
Elm.Interface.Fileselector.folder_only { get; set; }
Elm.Interface.Fileselector.mode { get; set; }
}
events {
file,chosen; [[Called when a file was chosen in the fileselector]]

View File

@ -17,10 +17,10 @@ class Elm.Fileselector_Entry (Elm.Layout, Elm.Interface.Fileselector,
Elm.Layout.sizing_eval;
Elm.Interface.Fileselector.selected_model_get;
Elm.Interface.Fileselector.selected_model_set;
Elm.Interface.Fileselector.folder_only;
Elm.Interface.Fileselector.is_save;
Elm.Interface.Fileselector.model;
Elm.Interface.Fileselector.expandable;
Elm.Interface.Fileselector.folder_only { get; set; }
Elm.Interface.Fileselector.is_save { get; set; }
Elm.Interface.Fileselector.model { get; set; }
Elm.Interface.Fileselector.expandable { get; set; }
Efl.Part.part;
}
events {

View File

@ -134,10 +134,10 @@ class Elm.Flipselector (Elm.Layout, Efl.Ui.Spin,
Elm.Widget.focus_direction_manager_is;
Elm.Widget.widget_event;
Elm.Layout.sizing_eval;
Efl.Ui.Spin.min_max;
Efl.Ui.Spin.step;
Efl.Ui.Spin.value;
Efl.Ui.Spin.interval;
Efl.Ui.Spin.min_max { get; set; }
Efl.Ui.Spin.step { get; set; }
Efl.Ui.Spin.value { get; set; }
Efl.Ui.Spin.interval { get; set; }
Elm.Interface.Atspi_Widget_Action.elm_actions { get; }
}
events {

View File

@ -561,7 +561,7 @@ class Elm.Gengrid (Elm.Layout, Elm.Interface_Scrollable,
Elm.Widget.item_loop_enabled { get; set; }
Elm.Layout.sizing_eval;
Elm.Interface_Scrollable.bounce_allow { set; }
Elm.Interface_Scrollable.policy;
Elm.Interface_Scrollable.policy { get; set; }
Elm.Interface.Atspi_Accessible.children { get; }
Elm.Interface.Atspi_Accessible.state_set { get; }
Elm.Interface.Atspi_Widget_Action.elm_actions { get; }

View File

@ -11,7 +11,7 @@ class Elm.Gengrid.Pan (Elm.Pan)
Efl.Gfx.size { set; }
Efl.Canvas.Group.group_calculate;
Elm.Pan.content_size { get; }
Elm.Pan.pos;
Elm.Pan.pos { get; set; }
Elm.Pan.pos_min { get; }
Elm.Pan.pos_max { get; }
}

View File

@ -548,8 +548,8 @@ class Elm.Genlist (Elm.Layout, Elm.Interface_Scrollable, Efl.Ui.Clickable,
Elm.Widget.item_loop_enabled { get; set; }
Elm.Layout.sub_object_add_enable;
Elm.Layout.sizing_eval;
Elm.Interface_Scrollable.bounce_allow;
Elm.Interface_Scrollable.policy;
Elm.Interface_Scrollable.bounce_allow { get; set; }
Elm.Interface_Scrollable.policy { get; set; }
Elm.Interface.Atspi_Accessible.children { get; }
Elm.Interface.Atspi_Accessible.state_set { get; }
Elm.Interface.Atspi_Widget_Action.elm_actions { get; }

View File

@ -12,7 +12,7 @@ class Elm.Genlist.Pan (Elm.Pan)
Efl.Canvas.Group.group_calculate;
Efl.Canvas.Group.group_del;
Elm.Pan.content_size { get; }
Elm.Pan.pos;
Elm.Pan.pos { get; set; }
Elm.Pan.pos_min { get; }
Elm.Pan.pos_max { get; }
}

View File

@ -68,7 +68,7 @@ class Elm.Hover (Elm.Layout, Efl.Ui.Clickable, Elm.Interface.Atspi_Widget_Action
Efl.Canvas.Group.group_add;
Elm.Widget.theme_apply;
Elm.Widget.sub_object_add;
Elm.Widget.widget_parent;
Elm.Widget.widget_parent { get; set; }
Elm.Widget.focus_direction_manager_is;
Elm.Widget.focus_next_manager_is;
Elm.Widget.sub_object_del;

View File

@ -228,7 +228,7 @@ class Elm.Index (Elm.Layout, Efl.Orientation,
Elm.Widget.focus_direction_manager_is;
Elm.Widget.access;
Elm.Widget.focus_next;
Efl.Orientation.orientation;
Efl.Orientation.orientation { get; set; }
Elm.Layout.sizing_eval;
Elm.Interface.Atspi_Accessible.children { get; }
}

View File

@ -11,7 +11,7 @@ class Elm.Map.Pan (Elm.Pan)
Efl.Gfx.size { set; }
Efl.Canvas.Group.group_calculate;
Elm.Pan.content_size { get; }
Elm.Pan.pos;
Elm.Pan.pos { get; set; }
Elm.Pan.pos_min { get; }
Elm.Pan.pos_max { get; }
}

View File

@ -53,7 +53,7 @@ class Elm.Menu (Elm.Widget, Efl.Ui.Clickable, Efl.Ui.Menu,
Efl.Gfx.visible { set; }
Efl.Canvas.Group.group_add;
Efl.Canvas.Group.group_del;
Elm.Widget.widget_parent;
Elm.Widget.widget_parent { get; set; }
Elm.Widget.theme_apply;
Elm.Widget.translate;
Elm.Interface.Atspi_Accessible.children { get; }

View File

@ -70,7 +70,7 @@ class Elm.Menu.Item(Elm.Widget.Item, Elm.Interface.Atspi.Selection,
Elm.Interface.Atspi_Accessible.state_set { get; }
Elm.Interface.Atspi.Selection.selected_children_count { get; }
Elm.Interface.Atspi.Selection.selected_child { get; }
Efl.Ui.Item.selected;
Efl.Ui.Item.selected { get; set; }
Efl.Ui.Item.prev { get; }
Efl.Ui.Item.next { get; }
}

View File

@ -86,7 +86,7 @@ class Elm.Notify (Elm.Widget, Efl.Container, Efl.Part)
Efl.Canvas.Group.group_add;
Efl.Canvas.Group.group_del;
Elm.Widget.focus_direction;
Elm.Widget.widget_parent;
Elm.Widget.widget_parent { get; set; }
Elm.Widget.theme_apply;
Elm.Widget.focus_direction_manager_is;
Elm.Widget.focus_next_manager_is;

View File

@ -123,7 +123,7 @@ class Elm.Panes (Elm.Layout, Efl.Orientation,
Elm.Widget.focus_next;
Elm.Widget.theme_apply;
Elm.Layout.content_aliases { get; }
Efl.Orientation.orientation;
Efl.Orientation.orientation { get; set; }
}
events {
press; [[Called when panes got pressed]]

View File

@ -11,7 +11,7 @@ class Elm.Photocam.Pan (Elm.Pan)
Efl.Gfx.size { set; }
Efl.Canvas.Group.group_calculate;
Elm.Pan.content_size { get; }
Elm.Pan.pos;
Elm.Pan.pos { get; set; }
Elm.Pan.pos_min { get; }
Elm.Pan.pos_max { get; }
}

View File

@ -74,10 +74,10 @@ class Elm.Progressbar (Elm.Layout, Efl.Ui.Progress,
Elm.Layout.text_aliases { get; }
Elm.Layout.content_aliases { get; }
Elm.Layout.sizing_eval;
Efl.Ui.Progress.span_size;
Efl.Ui.Progress.progress_value;
Efl.Ui.Progress.unit_format;
Efl.Orientation.orientation;
Efl.Ui.Progress.span_size { get; set; }
Efl.Ui.Progress.progress_value { get; set; }
Efl.Ui.Progress.unit_format { get; set; }
Efl.Orientation.orientation { get; set; }
Efl.Part.part;
}
events {

View File

@ -76,7 +76,7 @@ class Elm.Scroller (Elm.Layout, Elm.Interface_Scrollable,
Elm.Layout.sizing_eval;
Elm.Interface_Scrollable.page_size { set; }
Elm.Interface_Scrollable.policy { set; }
Elm.Interface_Scrollable.single_direction;
Elm.Interface_Scrollable.single_direction { get; set; }
Elm.Interface.Atspi_Widget_Action.elm_actions { get; }
Efl.Part.part;
}

View File

@ -10,7 +10,7 @@ class Elm.Separator (Elm.Layout, Efl.Orientation)
Elm.Widget.focus_next_manager_is;
Elm.Widget.focus_direction_manager_is;
Elm.Widget.theme_apply;
Efl.Orientation.orientation;
Efl.Orientation.orientation { get; set; }
Elm.Layout.sizing_eval;
}
}

View File

@ -184,10 +184,10 @@ class Elm.Slider (Elm.Layout, Efl.Ui.Progress,
Elm.Layout.text_aliases { get; }
Elm.Layout.content_aliases { get; }
Elm.Layout.sizing_eval;
Efl.Ui.Progress.span_size;
Efl.Ui.Progress.progress_value;
Efl.Ui.Progress.unit_format;
Efl.Orientation.orientation;
Efl.Ui.Progress.span_size { get; set; }
Efl.Ui.Progress.progress_value { get; set; }
Efl.Ui.Progress.unit_format { get; set; }
Efl.Orientation.orientation { get; set; }
Elm.Interface.Atspi.Value.value_and_text { get; set; }
Elm.Interface.Atspi.Value.range { get; }
Elm.Interface.Atspi.Value.increment { get; }

View File

@ -157,10 +157,10 @@ class Elm.Spinner (Elm.Layout, Efl.Ui.Spin,
Elm.Widget.on_focus;
Elm.Widget.widget_event;
Elm.Layout.sizing_eval;
Efl.Ui.Spin.min_max;
Efl.Ui.Spin.step;
Efl.Ui.Spin.value;
Efl.Ui.Spin.interval;
Efl.Ui.Spin.min_max { get; set; }
Efl.Ui.Spin.step { get; set; }
Efl.Ui.Spin.value { get; set; }
Efl.Ui.Spin.interval { get; set; }
Elm.Interface.Atspi_Accessible.name { get; }
Elm.Interface.Atspi.Value.value_and_text { get; set; }
Elm.Interface.Atspi.Value.range { get; }

View File

@ -331,7 +331,7 @@ class Elm.Toolbar (Elm.Widget, Elm.Interface_Scrollable, Efl.Orientation,
Elm.Widget.widget_event;
Elm.Widget.focus_highlight_geometry_get;
Elm.Widget.focused_item { get; }
Efl.Orientation.orientation;
Efl.Orientation.orientation { get; set; }
Elm.Interface.Atspi_Widget_Action.elm_actions { get; }
Elm.Interface.Atspi_Accessible.children { get; }
Elm.Interface.Atspi_Accessible.state_set { get; }

View File

@ -273,7 +273,7 @@ class Elm.Toolbar.Item(Elm.Widget.Item, Efl.Ui.Item)
Elm.Widget.Item.part_content_unset;
Elm.Interface.Atspi_Accessible.name { get; }
Elm.Interface.Atspi_Accessible.state_set { get; }
Efl.Ui.Item.selected;
Efl.Ui.Item.selected { get; set; }
Efl.Ui.Item.prev { get; }
Efl.Ui.Item.next { get; }
}

View File

@ -64,6 +64,46 @@ _get_impl_func(Eolian_Class *cl, Eolian_Implement *impl,
return EINA_FALSE;
}
Eolian_Function_Type aftype = eolian_function_type_get(fid);
/* match implement type against function type */
if (ftype == EOLIAN_PROPERTY)
{
/* property */
if (aftype != EOLIAN_PROPERTY)
{
_print_linecol(&impl->base);
fprintf(stderr, "function '%s' is not a complete property", fnname);
return EINA_FALSE;
}
}
else if (ftype == EOLIAN_PROP_SET)
{
/* setter */
if ((aftype != EOLIAN_PROP_SET) && (aftype != EOLIAN_PROPERTY))
{
_print_linecol(&impl->base);
fprintf(stderr, "function '%s' doesn't have a setter\n", fnname);
return EINA_FALSE;
}
}
else if (ftype == EOLIAN_PROP_GET)
{
/* getter */
if ((aftype != EOLIAN_PROP_GET) && (aftype != EOLIAN_PROPERTY))
{
_print_linecol(&impl->base);
fprintf(stderr, "function '%s' doesn't have a getter\n", fnname);
return EINA_FALSE;
}
}
else if (aftype != EOLIAN_METHOD)
{
_print_linecol(&impl->base);
fprintf(stderr, "function '%s' is not a method\n", fnname);
return EINA_FALSE;
}
if ((fid->klass == cl) && !impl->is_auto && !impl->is_empty)
{
/* only allow explicit implements from other classes, besides auto and