diff options
Diffstat (limited to 'vendor/github.com/d5/tengo/compiler/loop.go')
-rw-r--r-- | vendor/github.com/d5/tengo/compiler/loop.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vendor/github.com/d5/tengo/compiler/loop.go b/vendor/github.com/d5/tengo/compiler/loop.go new file mode 100644 index 00000000..e27cb096 --- /dev/null +++ b/vendor/github.com/d5/tengo/compiler/loop.go @@ -0,0 +1,8 @@ +package compiler + +// Loop represents a loop construct that +// the compiler uses to track the current loop. +type Loop struct { + Continues []int + Breaks []int +} |