MCPcopy Create free account
hub / github.com/google/gapid / param

Method param

gapil/bapi/decode.go:967–978  ·  view source on GitHub ↗
(paramID uint64)

Source from the content-addressed store, hash-verified

965}
966
967func (d *decoder) param(paramID uint64) (out *semantic.Parameter) {
968 d.build(d.content.Instances.Parameter, &d.inst.Parameter, paramID, &out,
969 func(p *Parameter, s *semantic.Parameter) {
970 s.AST = d.astParameter(p.Ast)
971 s.Annotations = d.annotations(p.Annotations)
972 s.Function = d.function(p.Function)
973 s.Named = semantic.Named(d.str(p.Name))
974 s.Docs = d.docs(p.Docs)
975 s.Type = d.ty(p.Type)
976 })
977 return
978}
979
980func (d *decoder) pointer(ptrID uint64) (out *semantic.Pointer) {
981 d.build(d.content.Instances.Pointer, &d.inst.Pointer, ptrID, &out,

Callers 4

exprMethod · 0.95
functionMethod · 0.95
observedMethod · 0.95
nodeMethod · 0.95

Calls 7

buildMethod · 0.95
astParameterMethod · 0.95
annotationsMethod · 0.95
functionMethod · 0.95
strMethod · 0.95
docsMethod · 0.95
tyMethod · 0.95

Tested by

no test coverage detected