(p *Annotations)
| 236 | } |
| 237 | |
| 238 | func (d *decoder) annotations(p *Annotations) semantic.Annotations { |
| 239 | if p == nil || len(p.Annotations) == 0 { |
| 240 | return nil |
| 241 | } |
| 242 | out := semantic.Annotations{} |
| 243 | foreach(p.Annotations, d.annotation, &out) |
| 244 | return out |
| 245 | } |
| 246 | |
| 247 | func (d *decoder) assert(assertID uint64) (out *semantic.Assert) { |
| 248 | d.build(d.content.Instances.Assert, &d.inst.Assert, assertID, &out, |