mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-27 23:31:35 +00:00
14 lines
276 B
Go
14 lines
276 B
Go
|
package stack
|
||
|
|
||
|
// Array represents an Array of stackItems on the stack
|
||
|
type Array struct {
|
||
|
*abstractItem
|
||
|
val []Item
|
||
|
}
|
||
|
|
||
|
// Array overrides the default implementation
|
||
|
// by the abstractItem, returning an Array struct
|
||
|
func (a *Array) Array() (*Array, error) {
|
||
|
return a, nil
|
||
|
}
|