class Stacklang::Type::Struct::Field

Defined in:

stacklang/compiler/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, constraint : Type::Any, offset : UInt16) #

[View source]

Instance Method Detail

def constraint : Stacklang::Type::Any #

[View source]
def constraint=(constraint : Stacklang::Type::Any) #

[View source]
def name : String #

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

[View source]
def offset : UInt16 #

[View source]
def offset=(offset : UInt16) #

[View source]