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

Method clone

gapil/bapi/decode.go:507–515  ·  view source on GitHub ↗
(cloneID uint64)

Source from the content-addressed store, hash-verified

505}
506
507func (d *decoder) clone(cloneID uint64) (out *semantic.Clone) {
508 d.build(d.content.Instances.Clone, &d.inst.Clone, cloneID, &out,
509 func(p *Clone, s *semantic.Clone) {
510 s.AST = d.astCall(p.Ast)
511 s.Slice = d.expr(p.Slice)
512 s.Type = d.slice(p.Type)
513 })
514 return
515}
516
517func (d *decoder) copy(copyID uint64) (out *semantic.Copy) {
518 d.build(d.content.Instances.Copy, &d.inst.Copy, copyID, &out,

Callers 2

exprMethod · 0.95
nodeMethod · 0.95

Calls 4

buildMethod · 0.95
astCallMethod · 0.95
exprMethod · 0.95
sliceMethod · 0.95

Tested by

no test coverage detected