| 965 | } |
| 966 | |
| 967 | func (d *decoder) param(paramID uint64) (out *semantic.Parameter) { |
| 968 | d.build(d.content.Instances.Parameter, &d.inst.Parameter, paramID, &out, |
| 969 | func(p *Parameter, s *semantic.Parameter) { |
| 970 | s.AST = d.astParameter(p.Ast) |
| 971 | s.Annotations = d.annotations(p.Annotations) |
| 972 | s.Function = d.function(p.Function) |
| 973 | s.Named = semantic.Named(d.str(p.Name)) |
| 974 | s.Docs = d.docs(p.Docs) |
| 975 | s.Type = d.ty(p.Type) |
| 976 | }) |
| 977 | return |
| 978 | } |
| 979 | |
| 980 | func (d *decoder) pointer(ptrID uint64) (out *semantic.Pointer) { |
| 981 | d.build(d.content.Instances.Pointer, &d.inst.Pointer, ptrID, &out, |