class

Dragonstone::DragonEnum

Inherits Dragonstone::DragonModule < Reference < Object

Constructors

new(name : String, value_method_name : String = "value", value_type_annotation : AST::TypeExpression | Nil = nil)
Source

Instance methods

define_member(name : String, value : Int64) : DragonEnumMember
Source
member(name : String) : DragonEnumMember | Nil
Source
member_for_value(value : Int64) : DragonEnumMember | Nil
Source
members
Source
value_method_name
Source
value_type_annotation
Source