module

Crygen::Modules::Property

Module that stores an array of properties, getters and setters (even those static).

Instance methods

add_property(visibility : Crygen::Enums::PropVisibility, name : String, type : String, *, value : String | Nil = nil, scope : Crygen::Enums::PropScope = :public, comment : String | Nil = nil, annotations : Array(Crygen::Types::Annotation) | Nil = nil) : self

Adds a property into object (visibility, name, type, value and scope).

Source

Nested types