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

Method reference

gapil/bapi/decode.go:1031–1041  ·  view source on GitHub ↗
(refID uint64)

Source from the content-addressed store, hash-verified

1029}
1030
1031func (d *decoder) reference(refID uint64) (out *semantic.Reference) {
1032 d.build(d.content.Instances.Reference, &d.inst.Reference, refID, &out,
1033 func(p *Reference, s *semantic.Reference) {
1034 s.Named = semantic.Named(d.str(p.Name))
1035 s.To = d.ty(p.To)
1036 if owner := d.node(p.Owner); owner != nil {
1037 semantic.Add(owner.(semantic.Owner), s)
1038 }
1039 })
1040 return
1041}
1042
1043func (d *decoder) return_(returnID uint64) (out *semantic.Return) {
1044 d.build(d.content.Instances.Return, &d.inst.Return, returnID, &out,

Callers 3

createMethod · 0.95
nodeMethod · 0.95
tyMethod · 0.95

Calls 5

buildMethod · 0.95
strMethod · 0.95
tyMethod · 0.95
nodeMethod · 0.95
AddMethod · 0.65

Tested by

no test coverage detected