Hello,
I would like to know if there's a technic to call a specific grandparent member from within a grandchild.
The "super" keyword allows to call the parent, but I don't find how to call the grandparent (super.super is not allowed), ie :
class GrandParent {
function buildContent() : Void {
}
class Parent extends GrandParent {
override function buildContent() : Void {
trace( "parent");
}
}
class Child extends Parent {
override function buildContent() : Void {
// WRONG : C++ 'ish synthax to call the grandparent's method instead of its parent
GrandParent::buildContent();
}
In ActionScript or Javascript you could do the trick thanks to "prototype" and "call" keywords. Please, could you tell me how to deal with this in Haxe ? Thanks :)