(astAnnotationID uint64)
| 1388 | } |
| 1389 | |
| 1390 | func (d *decoder) astAnnotation(astAnnotationID uint64) (out *ast.Annotation) { |
| 1391 | d.build(d.content.Instances.AstAnnotation, &d.inst.ASTAnnotation, astAnnotationID, &out, |
| 1392 | func(p *ASTAnnotation, s *ast.Annotation) { |
| 1393 | s.Name = d.astIdentifier(p.Name) |
| 1394 | if len(p.Arguments) > 0 { |
| 1395 | foreach(p.Arguments, d.astNode, &s.Arguments) |
| 1396 | } |
| 1397 | }) |
| 1398 | return |
| 1399 | } |
| 1400 | |
| 1401 | func (d *decoder) astAnnotations(p *ASTAnnotations) ast.Annotations { |
| 1402 | if p == nil || len(p.Annotations) == 0 { |
no test coverage detected