AddOverload appends a function overload ID to the ReferenceInfo.
(overloadID string)
| 487 | |
| 488 | // AddOverload appends a function overload ID to the ReferenceInfo. |
| 489 | func (r *ReferenceInfo) AddOverload(overloadID string) { |
| 490 | for _, id := range r.OverloadIDs { |
| 491 | if id == overloadID { |
| 492 | return |
| 493 | } |
| 494 | } |
| 495 | r.OverloadIDs = append(r.OverloadIDs, overloadID) |
| 496 | } |
| 497 | |
| 498 | // Equals returns whether two references are identical to each other. |
| 499 | func (r *ReferenceInfo) Equals(other *ReferenceInfo) bool { |
no outgoing calls