(n *semantic.Local)
| 1047 | } |
| 1048 | |
| 1049 | func (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 | |
| 1061 | func (e *encoder) make(n *semantic.Make) (outID uint64) { |
| 1062 | e.build(&e.instances.Make, e.maps.Make, n, &outID, func() *Make { |