Documentation ¶
Overview ¶
Package types implements VType, the interface all vodka types must implement.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VType ¶
type VType interface { // String returns the value as a string String() string // Value returns the value Value() interface{} // Type returns the name of the type as a string Type() string // Compare compares the value with another, -1, 0, 1 being less, equal and // greater. -2 can be used to show not equal, but not less or greater. Compare(VType) int // Copy returns a deep copy of the type Copy() VType }
Directories ¶
Path | Synopsis |
---|---|
Package vblock implements the block type.
|
Package vblock implements the block type. |
Package vboolean implements the boolean type.
|
Package vboolean implements the boolean type. |
Package vdict implements the dictionary type.
|
Package vdict implements the dictionary type. |
Package vinteger implements the integer type.
|
Package vinteger implements the integer type. |
Package vlist implements the list type.
|
Package vlist implements the list type. |
Package vnil implements the nil type.
|
Package vnil implements the nil type. |
Package vrange implements the range type.
|
Package vrange implements the range type. |
Package vstring implements the string type.
|
Package vstring implements the string type. |
Click to show internal directories.
Click to hide internal directories.