Lines Matching refs:rule

98 		rule :=
104 rules = append(rules, rule)
108 rule := NeverAllow().In(path+"/").WithMatcher("include_dirs", isSetMatcherInstance).
111 rules = append(rules, rule)
232 n := r.(*rule)
371 type rule struct { struct
393 return &rule{directDeps: make(map[string]bool)}
396 func (r *rule) In(path ...string) Rule { argument
401 func (r *rule) NotIn(path ...string) Rule { argument
406 func (r *rule) InDirectDeps(deps ...string) Rule { argument
413 func (r *rule) WithOsClass(osClasses ...OsClass) Rule { argument
418 func (r *rule) ModuleType(types ...string) Rule { argument
423 func (r *rule) NotModuleType(types ...string) Rule { argument
428 func (r *rule) With(properties, value string) Rule { argument
432 func (r *rule) WithMatcher(properties string, matcher ValueMatcher) Rule { argument
440 func (r *rule) Without(properties, value string) Rule { argument
444 func (r *rule) WithoutMatcher(properties string, matcher ValueMatcher) Rule { argument
459 func (r *rule) Because(reason string) Rule { argument
464 func (r *rule) BootclasspathJar() Rule { argument
469 func (r *rule) String() string { argument
504 func (r *rule) appliesToPath(dir string) bool { argument
510 func (r *rule) appliesToDirectDeps(ctx BottomUpMutatorContext) bool { argument
526 func (r *rule) appliesToBootclasspathJar(ctx BottomUpMutatorContext) bool { argument
534 func (r *rule) appliesToOsClass(osClass OsClass) bool { argument
548 func (r *rule) appliesToModuleType(moduleType string) bool { argument
552 func (r *rule) appliesToProperties(properties []interface{}) bool { argument