xgo/compiler/loop.go

9 lines
162 B
Go
Raw Normal View History

2019-01-09 10:17:42 +03:00
package compiler
// Loop represents a loop construct that
// the compiler uses to track the current loop.
2019-01-09 10:17:42 +03:00
type Loop struct {
Continues []int
Breaks []int
}