ID implements the Attribute interface method.
()
| 272 | |
| 273 | // ID implements the Attribute interface method. |
| 274 | func (a *absoluteAttribute) ID() int64 { |
| 275 | qualCount := len(a.qualifiers) |
| 276 | if qualCount == 0 { |
| 277 | return a.id |
| 278 | } |
| 279 | return a.qualifiers[qualCount-1].ID() |
| 280 | } |
| 281 | |
| 282 | // IsOptional returns trivially false for an attribute as the attribute represents a fully |
| 283 | // qualified variable name. If the attribute is used in an optional manner, then an attrQualifier |