RetAnnotationKey allows the Lookup of a function's return Annotation in the Annotation Map
| 342 | |
| 343 | // RetAnnotationKey allows the Lookup of a function's return Annotation in the Annotation Map |
| 344 | type RetAnnotationKey struct { |
| 345 | FuncDecl *types.Func |
| 346 | RetNum int // which result |
| 347 | } |
| 348 | |
| 349 | // Lookup looks this key up in the passed map, returning a Val |
| 350 | func (rk *RetAnnotationKey) Lookup(annMap Map) (Val, bool) { |
nothing calls this directly
no outgoing calls
no test coverage detected