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

Method copy

gapil/bapi/encode.go:700–709  ·  view source on GitHub ↗
(n *semantic.Copy)

Source from the content-addressed store, hash-verified

698}
699
700func (e *encoder) copy(n *semantic.Copy) (outID uint64) {
701 e.build(&e.instances.Copy, e.maps.Copy, n, &outID, func() *Copy {
702 return &Copy{
703 Ast: e.astCall(n.AST),
704 Src: e.expr(n.Src),
705 Dst: e.expr(n.Dst),
706 }
707 })
708 return
709}
710
711func (e *encoder) create(n *semantic.Create) (outID uint64) {
712 e.build(&e.instances.Create, e.maps.Create, n, &outID, func() *Create {

Callers 2

nodeMethod · 0.95
statMethod · 0.95

Calls 3

buildMethod · 0.95
astCallMethod · 0.95
exprMethod · 0.95

Tested by

no test coverage detected