mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-13 05:45:02 +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
|
||
|
}
|