class Mint::Ast::Enum

Defined in:

ast/enum.cr

Constructors

Instance Method Summary

Instance methods inherited from class Mint::Ast::Node

from : Int32 from, from=(from : Int32) from=, input : Data input, location : Location location, new_line? new_line?, owns?(node) owns?, source source, static? static?, static_value static_value, to : Int32 to, to_tuple to_tuple

Constructor methods inherited from class Mint::Ast::Node

new(input : Mint::Ast::Data, from : Int32, to : Int32) new

Constructor Detail

def self.new(parameters : Array(TypeVariable), options : Array(EnumOption), comments : Array(Comment), comment : Comment | Nil, name : String, input : Data, from : Int32, to : Int32) #

[View source]

Instance Method Detail

def comment : Mint::Ast::Comment? #

[View source]
def comments : Array(Mint::Ast::Comment) #

[View source]
def name : String #

[View source]
def options : Array(Mint::Ast::EnumOption) #

[View source]
def parameters : Array(Mint::Ast::TypeVariable) #

[View source]