Module erg_compiler::context::initialize::const_func
source · Functions
Base := Type or NoneType, Impl := Type -> ClassType
Super: ClassType, Impl := Type, Additional := Type -> ClassType
Class: ClassType -> ClassType (with
InheritableType
)
This function is used by the compiler to mark a class as inheritable and does nothing in terms of actual operation.Base: Type, Impl := Type -> Patch
Super: TraitType, Impl := Type, Additional := Type -> TraitType
Base: Type, Impl := Type -> TraitType