Documentation ¶
Index ¶
- type Array
- func (a *Array) Equals(other StackItem) bool
- func (a *Array) GetArray() []StackItem
- func (a *Array) GetBigInteger() *big.Int
- func (a *Array) GetBoolean() bool
- func (a *Array) GetByteArray() []byte
- func (a *Array) GetInterface() interfaces.IGeneralInterface
- func (a *Array) GetMap() map[StackItem]StackItem
- func (a *Array) Reverse()
- func (a *Array) String() string
- type Boolean
- func (b *Boolean) Equals(other StackItem) bool
- func (b *Boolean) GetArray() []StackItem
- func (b *Boolean) GetBigInteger() *big.Int
- func (b *Boolean) GetBoolean() bool
- func (b *Boolean) GetByteArray() []byte
- func (b *Boolean) GetInterface() interfaces.IGeneralInterface
- func (a *Boolean) GetMap() map[StackItem]StackItem
- func (a *Boolean) String() string
- type ByteArray
- func (ba *ByteArray) Bytes() []byte
- func (ba *ByteArray) Equals(other StackItem) bool
- func (ba *ByteArray) GetArray() []StackItem
- func (ba *ByteArray) GetBigInteger() *big.Int
- func (ba *ByteArray) GetBoolean() bool
- func (ba *ByteArray) GetByteArray() []byte
- func (ba *ByteArray) GetInterface() interfaces.IGeneralInterface
- func (ba *ByteArray) GetMap() map[StackItem]StackItem
- func (ba *ByteArray) String() string
- type Dictionary
- func (dic *Dictionary) Equals(other StackItem) bool
- func (dic *Dictionary) GetArray() []StackItem
- func (dic *Dictionary) GetBigInteger() *big.Int
- func (dic *Dictionary) GetBoolean() bool
- func (dic *Dictionary) GetByteArray() []byte
- func (dic *Dictionary) GetInterface() interfaces.IGeneralInterface
- func (dic *Dictionary) GetKeys() *Array
- func (dic *Dictionary) GetMap() map[StackItem]StackItem
- func (dic *Dictionary) GetValue(key StackItem) StackItem
- func (dic *Dictionary) GetValues() *Array
- func (dic *Dictionary) PutStackItem(key, value StackItem)
- func (dic *Dictionary) Remove(key StackItem)
- func (dic *Dictionary) String() string
- type GeneralInterface
- func (ii *GeneralInterface) Equals(other StackItem) bool
- func (ii *GeneralInterface) GetArray() []StackItem
- func (ii *GeneralInterface) GetBigInteger() *big.Int
- func (ii *GeneralInterface) GetBoolean() bool
- func (ii *GeneralInterface) GetByteArray() []byte
- func (ii *GeneralInterface) GetInterface() interfaces.IGeneralInterface
- func (ii *GeneralInterface) GetMap() map[StackItem]StackItem
- func (ii *GeneralInterface) String() string
- type Integer
- func (i *Integer) Equals(other StackItem) bool
- func (i *Integer) GetArray() []StackItem
- func (i *Integer) GetBigInteger() *big.Int
- func (i *Integer) GetBoolean() bool
- func (i *Integer) GetByteArray() []byte
- func (i *Integer) GetInterface() interfaces.IGeneralInterface
- func (i *Integer) GetMap() map[StackItem]StackItem
- func (i *Integer) String() string
- type StackItem
- type StackItemType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Array ¶
type Array struct {
// contains filtered or unexported fields
}
func (*Array) GetBigInteger ¶
func (*Array) GetBoolean ¶
func (*Array) GetByteArray ¶
func (*Array) GetInterface ¶
func (a *Array) GetInterface() interfaces.IGeneralInterface
type Boolean ¶
type Boolean struct {
// contains filtered or unexported fields
}
func NewBoolean ¶
func (*Boolean) GetBigInteger ¶
func (*Boolean) GetBoolean ¶
func (*Boolean) GetByteArray ¶
func (*Boolean) GetInterface ¶
func (b *Boolean) GetInterface() interfaces.IGeneralInterface
type ByteArray ¶
type ByteArray struct {
// contains filtered or unexported fields
}
func NewByteArray ¶
func (*ByteArray) GetBigInteger ¶
func (*ByteArray) GetBoolean ¶
func (*ByteArray) GetByteArray ¶
func (*ByteArray) GetInterface ¶
func (ba *ByteArray) GetInterface() interfaces.IGeneralInterface
type Dictionary ¶
type Dictionary struct {
// contains filtered or unexported fields
}
func NewDictionary ¶
func NewDictionary() *Dictionary
func (*Dictionary) Equals ¶
func (dic *Dictionary) Equals(other StackItem) bool
func (*Dictionary) GetArray ¶
func (dic *Dictionary) GetArray() []StackItem
func (*Dictionary) GetBigInteger ¶
func (dic *Dictionary) GetBigInteger() *big.Int
func (*Dictionary) GetBoolean ¶
func (dic *Dictionary) GetBoolean() bool
func (*Dictionary) GetByteArray ¶
func (dic *Dictionary) GetByteArray() []byte
func (*Dictionary) GetInterface ¶
func (dic *Dictionary) GetInterface() interfaces.IGeneralInterface
func (*Dictionary) GetKeys ¶
func (dic *Dictionary) GetKeys() *Array
func (*Dictionary) GetMap ¶
func (dic *Dictionary) GetMap() map[StackItem]StackItem
func (*Dictionary) GetValue ¶
func (dic *Dictionary) GetValue(key StackItem) StackItem
func (*Dictionary) GetValues ¶
func (dic *Dictionary) GetValues() *Array
func (*Dictionary) PutStackItem ¶
func (dic *Dictionary) PutStackItem(key, value StackItem)
func (*Dictionary) Remove ¶
func (dic *Dictionary) Remove(key StackItem)
func (*Dictionary) String ¶
func (dic *Dictionary) String() string
type GeneralInterface ¶
type GeneralInterface struct {
// contains filtered or unexported fields
}
func NewGeneralInterface ¶
func NewGeneralInterface(value interfaces.IGeneralInterface) *GeneralInterface
func (*GeneralInterface) Equals ¶
func (ii *GeneralInterface) Equals(other StackItem) bool
func (*GeneralInterface) GetArray ¶
func (ii *GeneralInterface) GetArray() []StackItem
func (*GeneralInterface) GetBigInteger ¶
func (ii *GeneralInterface) GetBigInteger() *big.Int
func (*GeneralInterface) GetBoolean ¶
func (ii *GeneralInterface) GetBoolean() bool
func (*GeneralInterface) GetByteArray ¶
func (ii *GeneralInterface) GetByteArray() []byte
func (*GeneralInterface) GetInterface ¶
func (ii *GeneralInterface) GetInterface() interfaces.IGeneralInterface
func (*GeneralInterface) GetMap ¶
func (ii *GeneralInterface) GetMap() map[StackItem]StackItem
func (*GeneralInterface) String ¶
func (ii *GeneralInterface) String() string
type Integer ¶
type Integer struct {
// contains filtered or unexported fields
}
func NewInteger ¶
func (*Integer) GetBigInteger ¶
func (*Integer) GetBoolean ¶
func (*Integer) GetByteArray ¶
func (*Integer) GetInterface ¶
func (i *Integer) GetInterface() interfaces.IGeneralInterface
type StackItemType ¶
type StackItemType byte
const ( TYPE_ByteArray StackItemType = iota TYPE_Boolean StackItemType = 0x01 TYPE_Integer StackItemType = 0x02 TYPE_InteropInterface StackItemType = 0x40 TYPE_Array StackItemType = 0x80 TYPE_Struct StackItemType = 0x81 TYPE_Map StackItemType = 0x82 )
Click to show internal directories.
Click to hide internal directories.