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

Method clone

gapil/bapi/encode.go:689–698  ·  view source on GitHub ↗
(n *semantic.Clone)

Source from the content-addressed store, hash-verified

687}
688
689func (e *encoder) clone(n *semantic.Clone) (outID uint64) {
690 e.build(&e.instances.Clone, e.maps.Clone, n, &outID, func() *Clone {
691 return &Clone{
692 Ast: e.astCall(n.AST),
693 Slice: e.expr(n.Slice),
694 Type: e.slice(n.Type),
695 }
696 })
697 return
698}
699
700func (e *encoder) copy(n *semantic.Copy) (outID uint64) {
701 e.build(&e.instances.Copy, e.maps.Copy, n, &outID, func() *Copy {

Callers 13

nodeMethod · 0.95
exprMethod · 0.95
compatFunction · 0.45
moveClientVBsToVAsFunction · 0.45
TransformMethod · 0.45
translateMethod · 0.45
copyMethod · 0.45
updateLayoutMethod · 0.45
getChildrenMethod · 0.45
getChildrenMethod · 0.45
copyMethod · 0.45
getChildrenMethod · 0.45

Calls 4

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

Tested by

no test coverage detected