Index
MyExtension
Aux
ClassDef

The functor demonstrates how a subclass of some Strasheela class is defined such that all Strasheela functionality (e.g. transformation of score object 'back' into textual representation) is preserved for the new class. The code of this class definition is extensively documented.

The functor defines and exports the class TestClass, which is a subclass of Score.temporalElement subclass with the additional parameter foo.

Functor

Import

Export

Define

[class info]

Our demonstration class extends Score.temporalElement by the single parameter 'foo'.

class TestClass from Score.temporalElement
   feat label !TestClassType end

fun{IsTestClass X}
Type checker.


End