VariableMatches returns true if the fully qualified variable matches the AttributePattern fully qualified variable name.
(variable string)
| 98 | // VariableMatches returns true if the fully qualified variable matches the AttributePattern |
| 99 | // fully qualified variable name. |
| 100 | func (apat *AttributePattern) VariableMatches(variable string) bool { |
| 101 | return apat.variable == variable |
| 102 | } |
| 103 | |
| 104 | // QualifierPatterns returns the set of AttributeQualifierPattern values on the AttributePattern. |
| 105 | func (apat *AttributePattern) QualifierPatterns() []*AttributeQualifierPattern { |
no outgoing calls
no test coverage detected