(n *ast.Field)
| 1758 | } |
| 1759 | |
| 1760 | func (e *encoder) astField(n *ast.Field) (outID uint64) { |
| 1761 | e.build(&e.instances.AstField, e.maps.ASTField, n, &outID, func() *ASTField { |
| 1762 | return &ASTField{ |
| 1763 | Annotations: e.astAnnotations(n.Annotations), |
| 1764 | Type: e.astNode(n.Type), |
| 1765 | Name: e.astIdentifier(n.Name), |
| 1766 | Default: e.astNode(n.Default), |
| 1767 | } |
| 1768 | }) |
| 1769 | return |
| 1770 | } |
| 1771 | |
| 1772 | func (e *encoder) astFunction(n *ast.Function) (outID uint64) { |
| 1773 | e.build(&e.instances.AstFunction, e.maps.ASTFunction, n, &outID, func() *ASTFunction { |
no test coverage detected