class CrystalLib::StructOrUnion

Defined in:

crystal_lib/ast.cr

Constructors

Instance Method Summary

Instance methods inherited from class CrystalLib::ASTNode

doc : String | Nil doc, doc=(doc : String | Nil) doc=, unscoped_name unscoped_name

Constructor Detail

def self.new(kind : Symbol, name : String) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def fields : Array(CrystalLib::Var) #

[View source]
def fields=(fields : Array(CrystalLib::Var)) #

[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def kind : Symbol #

[View source]
def kind=(kind : Symbol) #

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]
def to_s(io, semicolon = true) #

[View source]
def unscoped_name : String #

[View source]