Lines Matching refs:property
248 func checkRules(ctx BaseModuleContext, currentPkg, property string, visibility []string) {
254 ctx.PropertyErrorf(property, "must contain at least one visibility rule")
259 ok, pkg, name := splitRule(ctx, v, currentPkg, property)
268 ctx.PropertyErrorf(property, "//visibility:legacy_public must not be used")
274 ctx.PropertyErrorf(property, "unrecognized visibility rule %q", v)
279 ctx.PropertyErrorf(property, `"%v" may only be used at the start of the visibility rules`, v)
282 ctx.PropertyErrorf(property, "cannot mix %q with any other visibility rules", v)
291 ctx.PropertyErrorf(property,
326 func parseRules(ctx BaseModuleContext, currentPkg, property string, visibility []string) compositeR…
332 ok, pkg, name := splitRule(ctx, v, currentPkg, property)
363 ctx.PropertyErrorf(property, "invalid visibility pattern %q. Must match "+
404 func splitRule(ctx BaseModuleContext, ruleExpression string, currentPkg, property string) (bool, st…
410 ctx.PropertyErrorf(property,
610 property := newVisibilityProperty(name, stringsProperty)
611 base.visibilityPropertyInfo = append(base.visibilityPropertyInfo, property)
612 return property