(n *ast.Annotation)
| 1546 | } |
| 1547 | |
| 1548 | func (e *encoder) astAnnotation(n *ast.Annotation) (outID uint64) { |
| 1549 | e.build(&e.instances.AstAnnotation, e.maps.ASTAnnotation, n, &outID, func() *ASTAnnotation { |
| 1550 | out := &ASTAnnotation{ |
| 1551 | Name: e.astIdentifier(n.Name), |
| 1552 | } |
| 1553 | foreach(n.Arguments, e.astNode, &out.Arguments) |
| 1554 | return out |
| 1555 | }) |
| 1556 | return |
| 1557 | } |
| 1558 | |
| 1559 | func (e *encoder) astAnnotations(n ast.Annotations) *ASTAnnotations { |
| 1560 | out := &ASTAnnotations{} |
no test coverage detected