MCPcopy
hub / github.com/uber-go/nilaway / ParamAnnotationKey

Struct ParamAnnotationKey

annotation/key.go:187–190  ·  view source on GitHub ↗

ParamAnnotationKey allows the Lookup of a function parameter's Annotation in the Annotation map Only construct these using ParamKeyFromArgNum and ParamKeyFromName

Source from the content-addressed store, hash-verified

185// ParamAnnotationKey allows the Lookup of a function parameter's Annotation in the Annotation map
186// Only construct these using ParamKeyFromArgNum and ParamKeyFromName
187type ParamAnnotationKey struct {
188 FuncDecl *types.Func
189 ParamNum int
190}
191
192// ParamName returns the *types.Var naming the parameter associate with this key
193// nilable(result 0)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected