Merge merges other's attributes into a overriding attributes of a with attributes of other with identical names.
(other *MappedAttributeExpr)
| 176 | // Merge merges other's attributes into a overriding attributes of a with |
| 177 | // attributes of other with identical names. |
| 178 | func (ma *MappedAttributeExpr) Merge(other *MappedAttributeExpr) { |
| 179 | if other == nil { |
| 180 | return |
| 181 | } |
| 182 | ma.AttributeExpr.Merge(other.Attribute()) |
| 183 | ma.Remap() |
| 184 | } |
| 185 | |
| 186 | // FindKey finds the given key in the mapped attribute expression. |
| 187 | // If key is found, it returns the transport element name of the key and true. |