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

Method create

gapil/bapi/encode.go:711–720  ·  view source on GitHub ↗
(n *semantic.Create)

Source from the content-addressed store, hash-verified

709}
710
711func (e *encoder) create(n *semantic.Create) (outID uint64) {
712 e.build(&e.instances.Create, e.maps.Create, n, &outID, func() *Create {
713 return &Create{
714 Ast: e.astCall(n.AST),
715 Type: e.reference(n.Type),
716 Initializer: e.classInit(n.Initializer),
717 }
718 })
719 return
720}
721
722func (e *encoder) declareLocal(n *semantic.DeclareLocal) (outID uint64) {
723 e.build(&e.instances.DeclareLocal, e.maps.DeclareLocal, n, &outID, func() *DeclareLocal {

Callers 2

nodeMethod · 0.95
exprMethod · 0.95

Calls 4

buildMethod · 0.95
astCallMethod · 0.95
referenceMethod · 0.95
classInitMethod · 0.95

Tested by

no test coverage detected