A class definition or alias.

Examples (multi-line):

shared class PrintableWrapper<T>(shared T wrapped)
        satisfies Printable {
    shared actual void print() {
        package.print(wrapped else "<null>");
    }
}

shared class VariadicString(Character* characters) => String(characters);
Initializer
AnyClass()
Attributes
extendedTypeSource Codeshared formal ExtendedType? extendedType

The extended type of the class, if present.

parametersSource Codeshared formal Parameters parameters

The parameters of the class.

Inherited Attributes
Attributes inherited from: ClassOrInterface
Attributes inherited from: Declaration
Attributes inherited from: Node
Attributes inherited from: Object
Attributes inherited from: TypeDeclaration
Inherited Methods
Methods inherited from: Node
Methods inherited from: Object