func ResolveAttr(rule *build.Rule, key string, constMap BazelConstMap) string
type BazelConstMap map[string]string
func ResolveConstants(args language.GenerateArgs, f *build.File, constMap BazelConstMap) (BazelConstMap, error)
ResolveConstants resolves values from the current file as well as from load statements in the file