QualBool adds a bool qualifier pattern for a map index operation to the AttributePattern.
(pattern bool)
| 83 | |
| 84 | // QualBool adds a bool qualifier pattern for a map index operation to the AttributePattern. |
| 85 | func (apat *AttributePattern) QualBool(pattern bool) *AttributePattern { |
| 86 | apat.qualifierPatterns = append(apat.qualifierPatterns, |
| 87 | &AttributeQualifierPattern{value: pattern}) |
| 88 | return apat |
| 89 | } |
| 90 | |
| 91 | // Wildcard adds a special sentinel qualifier pattern that will match any single qualifier. |
| 92 | func (apat *AttributePattern) Wildcard() *AttributePattern { |
no outgoing calls
no test coverage detected