QualInt adds an int qualifier pattern to the AttributePattern. The index may be either a map or list index.
(pattern int64)
| 69 | // QualInt adds an int qualifier pattern to the AttributePattern. The index may be either a map or |
| 70 | // list index. |
| 71 | func (apat *AttributePattern) QualInt(pattern int64) *AttributePattern { |
| 72 | apat.qualifierPatterns = append(apat.qualifierPatterns, |
| 73 | &AttributeQualifierPattern{value: pattern}) |
| 74 | return apat |
| 75 | } |
| 76 | |
| 77 | // QualUint adds an uint qualifier pattern for a map index operation to the AttributePattern. |
| 78 | func (apat *AttributePattern) QualUint(pattern uint64) *AttributePattern { |
no outgoing calls