All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ceylon.language.meta.model.Model.ceylon Maven / Gradle / Ivy

There is a newer version: 1.3.3
Show newest version
import ceylon.language.meta.declaration {
    NestableDeclaration
}

"The root of all models. There are several types of models:
 
 - [[ClassOrInterface]]
 - [[FunctionModel]]
 - [[ValueModel]]
 "
shared sealed interface Model 
            of ClassOrInterface<>
             | FunctionModel<> 
             | ValueModel<> 
        satisfies Declared {
    
    "The container type of this model, or `null` if this is a toplevel model."
    shared actual formal Type<>? container;
    
    "The declaration for this model."
    shared actual formal NestableDeclaration declaration;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy