mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-27 13:58:05 +00:00
13 lines
276 B
Go
13 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
|
|
}
|