(localID uint64)
| 825 | } |
| 826 | |
| 827 | func (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 | |
| 840 | func (d *decoder) make(makeID uint64) (out *semantic.Make) { |
| 841 | d.build(d.content.Instances.Make, &d.inst.Make, makeID, &out, |
no test coverage detected