Lines Matching refs:visibility
231 if visibility := p.getStrings(); visibility != nil {
232 checkRules(ctx, qualified.pkg, p.getName(), visibility)
238 func checkRules(ctx BaseModuleContext, currentPkg, property string, visibility []string) {
239 ruleCount := len(visibility)
248 for i, v := range visibility {
269 ctx.PropertyErrorf(property, `"%v" may only be used at the start of the visibility rules`, v)
307 if visibility := primaryProperty.getStrings(); visibility != nil {
308 rule := parseRules(ctx, currentPkg, primaryProperty.getName(), visibility)
316 func parseRules(ctx BaseModuleContext, currentPkg, property string, visibility []string) compositeR…
317 rules := make(compositeRule, 0, len(visibility))
321 for _, v := range visibility {