(n semantic.Annotations)
| 408 | } |
| 409 | |
| 410 | func (e *encoder) annotations(n semantic.Annotations) *Annotations { |
| 411 | p := &Annotations{} |
| 412 | foreach(n, e.annotation, &p.Annotations) |
| 413 | return p |
| 414 | } |
| 415 | |
| 416 | func (e *encoder) api(n *semantic.API) (outID uint64) { |
| 417 | e.build(&e.instances.Api, e.maps.API, n, &outID, func() *API { |