efl/src/tests/eolian/data/object_impl.eo

70 lines
1.4 KiB
Plaintext
Raw Normal View History

class Object_Impl (Base) {
methods {
@property a {
set {
values {
value: const(list<int>)*;
}
return: bool (false);
}
get {
}
keys {
part: const(char)*;
}
values {
value: own(list<int>*);
}
}
@property b {
set {
}
get {
/* set as virtual pure - no implementation expected */
}
values {
value: own(list<int>*);
}
}
constructor_1 {
params {
@in a: int;
@in b: char;
}
}
constructor_2 {
}
foo1 {
/*@ comment foo */
params {
@in a: int; /*@ a */
@inout b: char;
@out c: double;
}
return: char * (null); /*@ comment for method return */
}
foo2 @const {
/*@ comment foo */
params {
@in a: int;
@in b: const(char)*;
}
}
pure_foo3 {
/* set as virtual pure - no implementation expected */
}
}
implements {
class.constructor;
class.destructor;
Base.constructor;
Base.destructor;
@virtual .pure_foo3;
@virtual .b.get;
}
constructors {
.constructor_1;
.constructor_2;
}
}