diff options
Diffstat (limited to 'vendor/github.com/d5/tengo/objects/iterable.go')
-rw-r--r-- | vendor/github.com/d5/tengo/objects/iterable.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/vendor/github.com/d5/tengo/objects/iterable.go b/vendor/github.com/d5/tengo/objects/iterable.go new file mode 100644 index 00000000..e431d3d7 --- /dev/null +++ b/vendor/github.com/d5/tengo/objects/iterable.go @@ -0,0 +1,7 @@ +package objects + +// Iterable represents an object that has iterator. +type Iterable interface { + // Iterate should return an Iterator for the type. + Iterate() Iterator +} |