summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2018-11-22 17:17:29 +0100
committerDaniel Kolesa <d.kolesa@samsung.com>2018-11-22 17:21:40 +0100
commitc143746dafa22e9928f599dcde5cdfe9f5e049ca (patch)
treee1ff979e310bcd9b4c795827b0bf28aab0f1374b
parent4e6a82e9db658a733681937deae01b2b8c99db5d (diff)
eolian: implement new syntax for inheritancedevs/q66/eolian_inherit_api
This new syntax separates the parent class from extensions, in a familiar way to similar to e.g. Java. Since changing everything at once is a lot of effort, implement it alongside for the time being.
-rw-r--r--src/lib/ecore/efl_loop.eo2
-rw-r--r--src/lib/eo/efl_class.eo2
-rw-r--r--src/lib/eo/efl_interface.eo2
-rw-r--r--src/lib/eo/efl_object.eo2
-rw-r--r--src/lib/eo/efl_object_override.eo2
-rw-r--r--src/lib/eolian/eo_lexer.h17
-rw-r--r--src/lib/eolian/eo_parser.c46
-rw-r--r--src/tests/efl_js/benchmark_object.eo2
-rw-r--r--src/tests/efl_mono/test_child.eo2
-rw-r--r--src/tests/efl_mono/test_numberwrapper.eo2
-rw-r--r--src/tests/efl_mono/test_testing.eo2
-rw-r--r--src/tests/eina_cxx/simple.eo2
-rw-r--r--src/tests/elementary/focus_test.eo5
-rw-r--r--src/tests/elementary/focus_test_sub_main.eo5
-rw-r--r--src/tests/eolian/data/ctor_dtor.eo2
-rw-r--r--src/tests/eolian/data/nmsp1_class1.eo2
-rw-r--r--src/tests/eolian/data/object_impl.eo2
-rw-r--r--src/tests/eolian/data/object_impl_add.eo2
-rw-r--r--src/tests/eolian/data/override.eo2
-rw-r--r--src/tests/eolian/data/parts.eo2
-rw-r--r--src/tests/eolian/generated_future.eo2
-rw-r--r--src/tests/eolian_cxx/a.eo2
-rw-r--r--src/tests/eolian_cxx/b.eo2
-rw-r--r--src/tests/eolian_cxx/c.eo2
-rw-r--r--src/tests/eolian_cxx/callback.eo2
-rw-r--r--src/tests/eolian_cxx/complex.eo2
-rw-r--r--src/tests/eolian_cxx/d.eo2
-rw-r--r--src/tests/eolian_cxx/generic.eo2
-rw-r--r--src/tests/eolian_cxx/name1_name2_type_generation.eo2
-rw-r--r--src/tests/eolian_cxx/simple.eo2
-rw-r--r--src/tests/eolian_js/constructor_method_class.eo2
-rw-r--r--src/tests/eolian_js/test_object.eo2
32 files changed, 81 insertions, 48 deletions
diff --git a/src/lib/ecore/efl_loop.eo b/src/lib/ecore/efl_loop.eo
index d3d7fc8aa3..8dcfc3e1e7 100644
--- a/src/lib/ecore/efl_loop.eo
+++ b/src/lib/ecore/efl_loop.eo
@@ -4,7 +4,7 @@ struct Efl.Loop_Arguments {
4 initialization: bool; [[Set to $true when the program should initialize its internal state. This happen once per process instance.]] 4 initialization: bool; [[Set to $true when the program should initialize its internal state. This happen once per process instance.]]
5} 5}
6 6
7class Efl.Loop (Efl.Task) 7class Efl.Loop extends Efl.Task
8{ 8{
9 [[The Efl Main Loop 9 [[The Efl Main Loop
10 10
diff --git a/src/lib/eo/efl_class.eo b/src/lib/eo/efl_class.eo
index b40674d704..b665ec2e8c 100644
--- a/src/lib/eo/efl_class.eo
+++ b/src/lib/eo/efl_class.eo
@@ -1,4 +1,4 @@
1abstract Efl.Class () 1abstract Efl.Class
2{ 2{
3 [[Abstract Efl class]] 3 [[Abstract Efl class]]
4 data: null; 4 data: null;
diff --git a/src/lib/eo/efl_interface.eo b/src/lib/eo/efl_interface.eo
index acf30976de..f2d6b273b0 100644
--- a/src/lib/eo/efl_interface.eo
+++ b/src/lib/eo/efl_interface.eo
@@ -1,4 +1,4 @@
1interface Efl.Interface () 1interface Efl.Interface
2{ 2{
3 [[An interface for other interfaces to inherit from. 3 [[An interface for other interfaces to inherit from.
4 This is useful when you want to create interfaces and mixins that expose 4 This is useful when you want to create interfaces and mixins that expose
diff --git a/src/lib/eo/efl_object.eo b/src/lib/eo/efl_object.eo
index a0d500bfea..7507e016a6 100644
--- a/src/lib/eo/efl_object.eo
+++ b/src/lib/eo/efl_object.eo
@@ -8,7 +8,7 @@ struct Efl.Event_Description {
8 restart: bool; [[$true if when the event is triggered again from a callback it'll start from where it was]] 8 restart: bool; [[$true if when the event is triggered again from a callback it'll start from where it was]]
9} 9}
10 10
11abstract Efl.Object () 11abstract Efl.Object
12{ 12{
13 [[Abstract Efl object class]] 13 [[Abstract Efl object class]]
14 eo_prefix: efl; 14 eo_prefix: efl;
diff --git a/src/lib/eo/efl_object_override.eo b/src/lib/eo/efl_object_override.eo
index 01bf0837cb..65f46dad03 100644
--- a/src/lib/eo/efl_object_override.eo
+++ b/src/lib/eo/efl_object_override.eo
@@ -1,4 +1,4 @@
1abstract Efl.Object_Override () 1abstract Efl.Object_Override
2{ 2{
3 [[A special class to pass to #eo_super() when using #eo_override() 3 [[A special class to pass to #eo_super() when using #eo_override()
4 4
diff --git a/src/lib/eolian/eo_lexer.h b/src/lib/eolian/eo_lexer.h
index fc70a0c914..d80535723d 100644
--- a/src/lib/eolian/eo_lexer.h
+++ b/src/lib/eolian/eo_lexer.h
@@ -25,14 +25,15 @@ enum Tokens
25#define KEYWORDS KW(class), KW(const), KW(enum), KW(return), KW(struct), \ 25#define KEYWORDS KW(class), KW(const), KW(enum), KW(return), KW(struct), \
26 \ 26 \
27 KW(abstract), KW(constructor), KW(constructors), KW(data), \ 27 KW(abstract), KW(constructor), KW(constructors), KW(data), \
28 KW(destructor), KW(eo), KW(eo_prefix), KW(event_prefix), KW(events), KW(free), \ 28 KW(destructor), KW(eo), KW(eo_prefix), KW(event_prefix), KW(events), \
29 KW(get), KW(implements), KW(import), KW(interface), KW(keys), KW(legacy), \ 29 KW(extends), KW(free), KW(get), KW(implements), KW(import), KW(interface), \
30 KW(legacy_prefix), KW(methods), KW(mixin), KW(params), KW(parse), KW(parts), \ 30 KW(keys), KW(legacy), KW(legacy_prefix), KW(methods), KW(mixin), KW(params), \
31 KW(ptr), KW(set), KW(type), KW(values), KW(var), KWAT(auto), KWAT(beta), \ 31 KW(parse), KW(parts), KW(ptr), KW(set), KW(type), KW(values), KW(var), \
32 KWAT(class), KWAT(const), KWAT(cref), KWAT(empty), KWAT(extern), \ 32 \
33 KWAT(free), KWAT(hot), KWAT(in), KWAT(inout), KWAT(nonull), KWAT(nullable), \ 33 KWAT(auto), KWAT(beta), KWAT(class), KWAT(const), KWAT(cref), KWAT(empty), \
34 KWAT(optional), KWAT(out), KWAT(owned), KWAT(private), KWAT(property), \ 34 KWAT(extern), KWAT(free), KWAT(hot), KWAT(in), KWAT(inout), KWAT(nonull), \
35 KWAT(protected), KWAT(restart), KWAT(pure_virtual), \ 35 KWAT(nullable), KWAT(optional), KWAT(out), KWAT(owned), KWAT(private), \
36 KWAT(property), KWAT(protected), KWAT(restart), KWAT(pure_virtual), \
36 KWAT(warn_unused), \ 37 KWAT(warn_unused), \
37 \ 38 \
38 KW(byte), KW(ubyte), KW(char), KW(short), KW(ushort), KW(int), KW(uint), \ 39 KW(byte), KW(ubyte), KW(char), KW(short), KW(ushort), KW(int), KW(uint), \
diff --git a/src/lib/eolian/eo_parser.c b/src/lib/eolian/eo_parser.c
index 858e268710..37bed0ac1f 100644
--- a/src/lib/eolian/eo_parser.c
+++ b/src/lib/eolian/eo_parser.c
@@ -2043,23 +2043,49 @@ parse_class(Eo_Lexer *ls, Eolian_Class_Type type)
2043 } 2043 }
2044 eo_lexer_context_pop(ls); 2044 eo_lexer_context_pop(ls);
2045 eo_lexer_dtor_pop(ls); 2045 eo_lexer_dtor_pop(ls);
2046
2047 Eina_Bool is_reg = (type == EOLIAN_CLASS_REGULAR) || (type == EOLIAN_CLASS_ABSTRACT);
2046 if (ls->t.token != '{') 2048 if (ls->t.token != '{')
2047 { 2049 {
2048 line = ls->line_number; 2050 line = ls->line_number;
2049 col = ls->column; 2051 col = ls->column;
2050 check_next(ls, '('); 2052 Eina_Strbuf *ibuf = eina_strbuf_new();
2051 if (ls->t.token != ')') 2053 eo_lexer_dtor_push(ls, EINA_FREE_CB(eina_strbuf_free), ibuf);
2054 /* new inherits syntax, keep alongside old for now */
2055 if (ls->t.kw == KW_extends || (is_reg && (ls->t.kw == KW_implements)))
2056 {
2057 Eina_Bool ext = (ls->t.kw == KW_extends);
2058 eo_lexer_get(ls);
2059 if (is_reg && ext)
2060 {
2061 /* regular class can have a parent, but just one */
2062 _inherit_dep(ls, ibuf, EINA_TRUE);
2063 /* if not followed by implements, we're done */
2064 if (ls->t.kw != KW_implements)
2065 {
2066 eo_lexer_dtor_pop(ls);
2067 goto inherit_done;
2068 }
2069 eo_lexer_get(ls);
2070 }
2071 do
2072 _inherit_dep(ls, ibuf, EINA_FALSE);
2073 while (test_next(ls, ','));
2074 }
2075 else
2052 { 2076 {
2053 Eina_Strbuf *ibuf = eina_strbuf_new(); 2077 check_next(ls, '(');
2054 eo_lexer_dtor_push(ls, EINA_FREE_CB(eina_strbuf_free), ibuf); 2078 if (ls->t.token != ')')
2055 _inherit_dep(ls, ibuf, 2079 {
2056 (type == EOLIAN_CLASS_REGULAR) || (type == EOLIAN_CLASS_ABSTRACT)); 2080 _inherit_dep(ls, ibuf, is_reg);
2057 while (test_next(ls, ',')) 2081 while (test_next(ls, ','))
2058 _inherit_dep(ls, ibuf, EINA_FALSE); 2082 _inherit_dep(ls, ibuf, EINA_FALSE);
2059 eo_lexer_dtor_pop(ls); 2083 }
2084 check_match(ls, ')', '(', line, col);
2060 } 2085 }
2061 check_match(ls, ')', '(', line, col); 2086 eo_lexer_dtor_pop(ls);
2062 } 2087 }
2088inherit_done:
2063 line = ls->line_number; 2089 line = ls->line_number;
2064 col = ls->column; 2090 col = ls->column;
2065 check_next(ls, '{'); 2091 check_next(ls, '{');
diff --git a/src/tests/efl_js/benchmark_object.eo b/src/tests/efl_js/benchmark_object.eo
index 4441ac2ffc..65b65665e2 100644
--- a/src/tests/efl_js/benchmark_object.eo
+++ b/src/tests/efl_js/benchmark_object.eo
@@ -1,4 +1,4 @@
1class Benchmark_Object (Efl.Object) 1class Benchmark_Object extends Efl.Object
2{ 2{
3 data: null; 3 data: null;
4 methods { 4 methods {
diff --git a/src/tests/efl_mono/test_child.eo b/src/tests/efl_mono/test_child.eo
index d12ba6d3c6..0d37c19346 100644
--- a/src/tests/efl_mono/test_child.eo
+++ b/src/tests/efl_mono/test_child.eo
@@ -1,6 +1,6 @@
1import eina_types; 1import eina_types;
2 2
3class Test.Child (Test.Testing) { 3class Test.Child extends Test.Testing {
4 4
5 implements { 5 implements {
6 class.constructor; 6 class.constructor;
diff --git a/src/tests/efl_mono/test_numberwrapper.eo b/src/tests/efl_mono/test_numberwrapper.eo
index 3402fbd54f..6f749f9c34 100644
--- a/src/tests/efl_mono/test_numberwrapper.eo
+++ b/src/tests/efl_mono/test_numberwrapper.eo
@@ -1,4 +1,4 @@
1class Test.Numberwrapper (Efl.Object) { 1class Test.Numberwrapper extends Efl.Object {
2 methods { 2 methods {
3 @property number { 3 @property number {
4 get { 4 get {
diff --git a/src/tests/efl_mono/test_testing.eo b/src/tests/efl_mono/test_testing.eo
index 26692ea948..c46963e5c7 100644
--- a/src/tests/efl_mono/test_testing.eo
+++ b/src/tests/efl_mono/test_testing.eo
@@ -91,7 +91,7 @@ function Test.FormatCb {
91 } 91 }
92}; 92};
93 93
94class Test.Testing (Efl.Object, Efl.Part) { 94class Test.Testing extends Efl.Object implements Efl.Part {
95 95
96 parts { 96 parts {
97 part1: Test.Testing; [[ Part number one. ]] 97 part1: Test.Testing; [[ Part number one. ]]
diff --git a/src/tests/eina_cxx/simple.eo b/src/tests/eina_cxx/simple.eo
index 1a76d231de..8750b700ab 100644
--- a/src/tests/eina_cxx/simple.eo
+++ b/src/tests/eina_cxx/simple.eo
@@ -1,4 +1,4 @@
1class Simple (Efl.Object) 1class Simple extends Efl.Object
2{ 2{
3 data: null; 3 data: null;
4 implements { 4 implements {
diff --git a/src/tests/elementary/focus_test.eo b/src/tests/elementary/focus_test.eo
index 8be44ed295..1293b6535a 100644
--- a/src/tests/elementary/focus_test.eo
+++ b/src/tests/elementary/focus_test.eo
@@ -1,4 +1,7 @@
1class Focus.Test(Efl.Object, Efl.Ui.Focus.Object, Efl.Gfx.Entity) { 1class Focus.Test
2 extends Efl.Object
3 implements Efl.Ui.Focus.Object, Efl.Gfx.Entity
4{
2 methods { 5 methods {
3 test_size { 6 test_size {
4 params { 7 params {
diff --git a/src/tests/elementary/focus_test_sub_main.eo b/src/tests/elementary/focus_test_sub_main.eo
index ebf835831f..d259d38787 100644
--- a/src/tests/elementary/focus_test_sub_main.eo
+++ b/src/tests/elementary/focus_test_sub_main.eo
@@ -1,4 +1,7 @@
1class Focus.Test.Sub.Main(Efl.Object, Efl.Ui.Focus.Object, Efl.Ui.Focus.Manager_Sub) { 1class Focus.Test.Sub.Main
2 extends Efl.Object
3 implements Efl.Ui.Focus.Object, Efl.Ui.Focus.Manager_Sub
4{
2 implements { 5 implements {
3 Efl.Ui.Focus.Object.focus_manager { get; } 6 Efl.Ui.Focus.Object.focus_manager { get; }
4 Efl.Ui.Focus.Object.focus_parent { get; } 7 Efl.Ui.Focus.Object.focus_parent { get; }
diff --git a/src/tests/eolian/data/ctor_dtor.eo b/src/tests/eolian/data/ctor_dtor.eo
index 98452b1018..256dcc0a4d 100644
--- a/src/tests/eolian/data/ctor_dtor.eo
+++ b/src/tests/eolian/data/ctor_dtor.eo
@@ -1,4 +1,4 @@
1class Ctor_Dtor (Base) { 1class Ctor_Dtor extends Base {
2 methods { 2 methods {
3 custom_constructor_1 { 3 custom_constructor_1 {
4 params { 4 params {
diff --git a/src/tests/eolian/data/nmsp1_class1.eo b/src/tests/eolian/data/nmsp1_class1.eo
index 42d6c04948..a494e5e1c5 100644
--- a/src/tests/eolian/data/nmsp1_class1.eo
+++ b/src/tests/eolian/data/nmsp1_class1.eo
@@ -1,4 +1,4 @@
1class nmsp1.class1 (nmsp1.nmsp11.class2, nmsp2.class1, no_nmsp) 1class nmsp1.class1 extends nmsp1.nmsp11.class2 implements nmsp2.class1, no_nmsp
2{ 2{
3 implements { 3 implements {
4 nmsp1.nmsp11.class2.a { set; } 4 nmsp1.nmsp11.class2.a { set; }
diff --git a/src/tests/eolian/data/object_impl.eo b/src/tests/eolian/data/object_impl.eo
index 7019225118..e646a70ea4 100644
--- a/src/tests/eolian/data/object_impl.eo
+++ b/src/tests/eolian/data/object_impl.eo
@@ -1,4 +1,4 @@
1class Object_Impl (Base) { 1class Object_Impl extends Base {
2 methods { 2 methods {
3 @property a { 3 @property a {
4 set { 4 set {
diff --git a/src/tests/eolian/data/object_impl_add.eo b/src/tests/eolian/data/object_impl_add.eo
index 4059110c08..e9e97c009f 100644
--- a/src/tests/eolian/data/object_impl_add.eo
+++ b/src/tests/eolian/data/object_impl_add.eo
@@ -1,4 +1,4 @@
1class Object_Impl_Add (Base) { 1class Object_Impl_Add extends Base {
2 data: Object_Impl_Data; 2 data: Object_Impl_Data;
3 3
4 methods { 4 methods {
diff --git a/src/tests/eolian/data/override.eo b/src/tests/eolian/data/override.eo
index 16ed52981c..440dc2125b 100644
--- a/src/tests/eolian/data/override.eo
+++ b/src/tests/eolian/data/override.eo
@@ -1,4 +1,4 @@
1class Override (Base) { 1class Override extends Base {
2 methods { 2 methods {
3 @property a { 3 @property a {
4 set @pure_virtual { 4 set @pure_virtual {
diff --git a/src/tests/eolian/data/parts.eo b/src/tests/eolian/data/parts.eo
index 286d1e432f..773282d728 100644
--- a/src/tests/eolian/data/parts.eo
+++ b/src/tests/eolian/data/parts.eo
@@ -1,4 +1,4 @@
1class Parts (Override, Base) { 1class Parts extends Override implements Base {
2 parts { 2 parts {
3 part1: Override; [[Part 1]] 3 part1: Override; [[Part 1]]
4 part2: Base; [[Part 2]] 4 part2: Base; [[Part 2]]
diff --git a/src/tests/eolian/generated_future.eo b/src/tests/eolian/generated_future.eo
index 96ccc3ad74..4cf5518f93 100644
--- a/src/tests/eolian/generated_future.eo
+++ b/src/tests/eolian/generated_future.eo
@@ -1,4 +1,4 @@
1class Generated_Future (Efl.Object) 1class Generated_Future extends Efl.Object
2{ 2{
3 methods { 3 methods {
4 } 4 }
diff --git a/src/tests/eolian_cxx/a.eo b/src/tests/eolian_cxx/a.eo
index de330a4a7f..cc94262821 100644
--- a/src/tests/eolian_cxx/a.eo
+++ b/src/tests/eolian_cxx/a.eo
@@ -1,4 +1,4 @@
1class A (Efl.Object) 1class A extends Efl.Object
2{ 2{
3 data: A_Data; 3 data: A_Data;
4 implements { 4 implements {
diff --git a/src/tests/eolian_cxx/b.eo b/src/tests/eolian_cxx/b.eo
index 291865a37a..c293edc9c0 100644
--- a/src/tests/eolian_cxx/b.eo
+++ b/src/tests/eolian_cxx/b.eo
@@ -1,4 +1,4 @@
1class B (A) 1class B extends A
2{ 2{
3 data: B_Data; 3 data: B_Data;
4 implements { 4 implements {
diff --git a/src/tests/eolian_cxx/c.eo b/src/tests/eolian_cxx/c.eo
index c784e0f95a..47c96cc1c5 100644
--- a/src/tests/eolian_cxx/c.eo
+++ b/src/tests/eolian_cxx/c.eo
@@ -1,4 +1,4 @@
1class C (A) 1class C extends A
2{ 2{
3 data: C_Data; 3 data: C_Data;
4 implements { 4 implements {
diff --git a/src/tests/eolian_cxx/callback.eo b/src/tests/eolian_cxx/callback.eo
index b72e932f60..3f4cd9effe 100644
--- a/src/tests/eolian_cxx/callback.eo
+++ b/src/tests/eolian_cxx/callback.eo
@@ -4,7 +4,7 @@ struct Callback_Event
4 field2: list<int*>; 4 field2: list<int*>;
5} 5}
6 6
7class Callback (Efl.Object) 7class Callback extends Efl.Object
8{ 8{
9 data: Callback_Data; 9 data: Callback_Data;
10 events { 10 events {
diff --git a/src/tests/eolian_cxx/complex.eo b/src/tests/eolian_cxx/complex.eo
index e4400ddb93..13ed1ca385 100644
--- a/src/tests/eolian_cxx/complex.eo
+++ b/src/tests/eolian_cxx/complex.eo
@@ -1,4 +1,4 @@
1class Complex (Efl.Object) 1class Complex extends Efl.Object
2{ 2{
3 data: Complex_Data; 3 data: Complex_Data;
4 methods { 4 methods {
diff --git a/src/tests/eolian_cxx/d.eo b/src/tests/eolian_cxx/d.eo
index 1a5d2b3202..a3bf2a587f 100644
--- a/src/tests/eolian_cxx/d.eo
+++ b/src/tests/eolian_cxx/d.eo
@@ -1,4 +1,4 @@
1class D (B, C) 1class D extends B implements C
2{ 2{
3 data: D_Data; 3 data: D_Data;
4 implements { 4 implements {
diff --git a/src/tests/eolian_cxx/generic.eo b/src/tests/eolian_cxx/generic.eo
index d21473c067..6282cbaa95 100644
--- a/src/tests/eolian_cxx/generic.eo
+++ b/src/tests/eolian_cxx/generic.eo
@@ -5,7 +5,7 @@ struct Generic.Event
5 field2: list<ptr(int)>; 5 field2: list<ptr(int)>;
6} 6}
7 7
8class Generic (Efl.Object) 8class Generic extends Efl.Object
9{ 9{
10 data: Generic_Data; 10 data: Generic_Data;
11 methods { 11 methods {
diff --git a/src/tests/eolian_cxx/name1_name2_type_generation.eo b/src/tests/eolian_cxx/name1_name2_type_generation.eo
index 8e745be7b8..683cf9f031 100644
--- a/src/tests/eolian_cxx/name1_name2_type_generation.eo
+++ b/src/tests/eolian_cxx/name1_name2_type_generation.eo
@@ -1,4 +1,4 @@
1class Name1.Name2.Type_Generation (Efl.Object) 1class Name1.Name2.Type_Generation extends Efl.Object
2{ 2{
3 data: Type_Generation_Data; 3 data: Type_Generation_Data;
4 methods { 4 methods {
diff --git a/src/tests/eolian_cxx/simple.eo b/src/tests/eolian_cxx/simple.eo
index 003a3e65ad..f6f340f131 100644
--- a/src/tests/eolian_cxx/simple.eo
+++ b/src/tests/eolian_cxx/simple.eo
@@ -1,4 +1,4 @@
1class Simple (Efl.Object) 1class Simple extends Efl.Object
2{ 2{
3 data: null; 3 data: null;
4 methods { 4 methods {
diff --git a/src/tests/eolian_js/constructor_method_class.eo b/src/tests/eolian_js/constructor_method_class.eo
index ed77e85d70..206f2df966 100644
--- a/src/tests/eolian_js/constructor_method_class.eo
+++ b/src/tests/eolian_js/constructor_method_class.eo
@@ -1,4 +1,4 @@
1class Constructor_Method_Class (Efl.Object) 1class Constructor_Method_Class extends Efl.Object
2{ 2{
3 data: Constructor_Method_Class_Data; 3 data: Constructor_Method_Class_Data;
4 methods { 4 methods {
diff --git a/src/tests/eolian_js/test_object.eo b/src/tests/eolian_js/test_object.eo
index ea81366162..d1aed0ac2f 100644
--- a/src/tests/eolian_js/test_object.eo
+++ b/src/tests/eolian_js/test_object.eo
@@ -10,7 +10,7 @@ struct Test.Struct_Ex {
10 value_enum: Test.Enum_Ex; 10 value_enum: Test.Enum_Ex;
11} 11}
12 12
13class Test.Object (Efl.Object) { 13class Test.Object extends Efl.Object {
14 methods { 14 methods {
15 method_integral_in_a_check { 15 method_integral_in_a_check {
16 [[ tests integral in ]] 16 [[ tests integral in ]]