Lines Matching refs:properties
227 properties := m.GetProperties()
241 if !n.appliesToProperties(properties) {
360 With(properties, value string) Rule argument
362 WithMatcher(properties string, matcher ValueMatcher) Rule
364 Without(properties, value string) Rule argument
366 WithoutMatcher(properties string, matcher ValueMatcher) Rule
428 func (r *rule) With(properties, value string) Rule {
429 return r.WithMatcher(properties, selectMatcher(value))
432 func (r *rule) WithMatcher(properties string, matcher ValueMatcher) Rule {
434 fields: fieldNamesForProperties(properties),
440 func (r *rule) Without(properties, value string) Rule {
441 return r.WithoutMatcher(properties, selectMatcher(value))
444 func (r *rule) WithoutMatcher(properties string, matcher ValueMatcher) Rule {
446 fields: fieldNamesForProperties(properties),
552 func (r *rule) appliesToProperties(properties []interface{}) bool {
553 includeProps := hasAllProperties(properties, r.props)
554 excludeProps := hasAnyProperty(properties, r.unlessProps)
592 func hasAnyProperty(properties []interface{}, props []ruleProperty) bool {
594 if hasProperty(properties, v) {
601 func hasAllProperties(properties []interface{}, props []ruleProperty) bool {
603 if !hasProperty(properties, v) {
610 func hasProperty(properties []interface{}, prop ruleProperty) bool {
611 for _, propertyStruct := range properties {