Documentation ¶
Index ¶
Constants ¶
View Source
const ( INTEGER_OBJ = "INTEGER" DICE_OBJ = "DICE" ERROR_OBJ = "ERROR" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiceData ¶
type DiceData struct { Literal string Tags []string RawRolls []uint32 FinalRolls []uint32 Value int64 }
func (*DiceData) Type ¶
func (dd *DiceData) Type() ObjectType
type Error ¶
type Error struct {
Message string
}
func (*Error) Type ¶
func (e *Error) Type() ObjectType
type Integer ¶
type Integer struct {
Value int64
}
func (*Integer) Type ¶
func (i *Integer) Type() ObjectType
type Metadata ¶
func NewMetadata ¶
func NewMetadata() *Metadata
type Object ¶
type Object interface { Type() ObjectType Inspect() string }
type ObjectType ¶
type ObjectType string
Click to show internal directories.
Click to hide internal directories.