(n *ast.Import)
| 1810 | } |
| 1811 | |
| 1812 | func (e *encoder) astImport(n *ast.Import) (outID uint64) { |
| 1813 | e.build(&e.instances.AstImport, e.maps.ASTImport, n, &outID, func() *ASTImport { |
| 1814 | return &ASTImport{ |
| 1815 | Annotations: e.astAnnotations(n.Annotations), |
| 1816 | Path: e.astString(n.Path), |
| 1817 | } |
| 1818 | }) |
| 1819 | return |
| 1820 | } |
| 1821 | |
| 1822 | func (e *encoder) astIndex(n *ast.Index) (outID uint64) { |
| 1823 | e.build(&e.instances.AstIndex, e.maps.ASTIndex, n, &outID, func() *ASTIndex { |
no test coverage detected