func (c *completer) wantLabelCompletion() labelType {
	if _, ok := c.path[0].(*ast.Ident); ok && len(c.path) > 1 {
		return takesLabel(c.path[1])
	}
	return labelNone
}
wantLabelCompletion returns true if we want (only) label
completions at the position.
package completion
import (
	"go/ast"
	"go/token"
	"math"
)
type labelType int
const (
	labelNone labelType = iota
	labelBreak
	labelContinue
	labelGoto
)