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

Method reference

gapil/bapi/encode.go:1266–1275  ·  view source on GitHub ↗
(n *semantic.Reference)

Source from the content-addressed store, hash-verified

1264}
1265
1266func (e *encoder) reference(n *semantic.Reference) (outID uint64) {
1267 e.build(&e.instances.Reference, e.maps.Reference, n, &outID, func() *Reference {
1268 return &Reference{
1269 Owner: e.node(n.Owner()),
1270 Name: e.str(n.Name()),
1271 To: e.ty(n.To),
1272 }
1273 })
1274 return
1275}
1276
1277func (e *encoder) return_(n *semantic.Return) (outID uint64) {
1278 e.build(&e.instances.Return, e.maps.Return, n, &outID, func() *Return {

Callers 3

nodeMethod · 0.95
createMethod · 0.95
tyMethod · 0.95

Calls 6

buildMethod · 0.95
nodeMethod · 0.95
strMethod · 0.95
tyMethod · 0.95
OwnerMethod · 0.65
NameMethod · 0.65

Tested by

no test coverage detected