(p *ASTAnnotations)
| 1399 | } |
| 1400 | |
| 1401 | func (d *decoder) astAnnotations(p *ASTAnnotations) ast.Annotations { |
| 1402 | if p == nil || len(p.Annotations) == 0 { |
| 1403 | return nil |
| 1404 | } |
| 1405 | out := ast.Annotations{} |
| 1406 | foreach(p.Annotations, d.astAnnotation, &out) |
| 1407 | return out |
| 1408 | } |
| 1409 | |
| 1410 | func (d *decoder) astAPI(astAPIID uint64) (out *ast.API) { |
| 1411 | d.build(d.content.Instances.AstApi, &d.inst.ASTAPI, astAPIID, &out, |
no test coverage detected