setName updates the name of the attribute.
(name string)
| 52 | |
| 53 | // setName updates the name of the attribute. |
| 54 | func (a *Attribute) setName(name string) { |
| 55 | nameObj := newIdentifier(newIdentToken(name)) |
| 56 | a.name = a.name.ReplaceWith(nameObj) |
| 57 | } |
no test coverage detected