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

Method local

gapil/bapi/encode.go:1049–1059  ·  view source on GitHub ↗
(n *semantic.Local)

Source from the content-addressed store, hash-verified

1047}
1048
1049func (e *encoder) local(n *semantic.Local) (outID uint64) {
1050 e.build(&e.instances.Local, e.maps.Local, n, &outID, func() *Local {
1051 return &Local{
1052 Declaration: e.stat(n.Declaration),
1053 Type: e.ty(n.Type),
1054 Name: e.str(n.Name()),
1055 Value: e.expr(n.Value),
1056 }
1057 })
1058 return
1059}
1060
1061func (e *encoder) make(n *semantic.Make) (outID uint64) {
1062 e.build(&e.instances.Make, e.maps.Make, n, &outID, func() *Make {

Callers 5

nodeMethod · 0.95
declareLocalMethod · 0.95
exprMethod · 0.95
iterationMethod · 0.95
mapIterationMethod · 0.95

Calls 6

buildMethod · 0.95
statMethod · 0.95
tyMethod · 0.95
strMethod · 0.95
exprMethod · 0.95
NameMethod · 0.65

Tested by

no test coverage detected