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

ceylon.language.meta.declaration.ClassWithConstructorsDeclaration.ceylon Maven / Gradle / Ivy

There is a newer version: 1.3.3
Show newest version
"""The declaration model of a class that has constructors. For example:
   
       class Point {
           shared new(Float x, Float y) {
               // ...
           }
           shared new polar(Float r, Float theta) {
               // ...
           }
           shared new origin {
               // ...
           }
       }
       
   Such classes may not have a default (unnamed) constructor,
   so [[defaultConstructor|ClassDeclaration.defaultConstructor]] 
   has optional type.
   """
see(`interface ClassWithInitializerDeclaration`)
shared sealed interface ClassWithConstructorsDeclaration 
        satisfies ClassDeclaration {
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy