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

Method local

gapil/bapi/decode.go:827–838  ·  view source on GitHub ↗
(localID uint64)

Source from the content-addressed store, hash-verified

825}
826
827func (d *decoder) local(localID uint64) (out *semantic.Local) {
828 d.build(d.content.Instances.Local, &d.inst.Local, localID, &out,
829 func(p *Local, s *semantic.Local) {
830 if p.Declaration != 0 {
831 s.Declaration = d.stat(p.Declaration).(*semantic.DeclareLocal)
832 }
833 s.Type = d.ty(p.Type)
834 s.Named = semantic.Named(d.str(p.Name))
835 s.Value = d.expr(p.Value)
836 })
837 return
838}
839
840func (d *decoder) make(makeID uint64) (out *semantic.Make) {
841 d.build(d.content.Instances.Make, &d.inst.Make, makeID, &out,

Callers 5

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

Calls 5

buildMethod · 0.95
statMethod · 0.95
tyMethod · 0.95
strMethod · 0.95
exprMethod · 0.95

Tested by

no test coverage detected