(n *ast.Case)
| 1690 | } |
| 1691 | |
| 1692 | func (e *encoder) astCase(n *ast.Case) (outID uint64) { |
| 1693 | e.build(&e.instances.AstCase, e.maps.ASTCase, n, &outID, func() *ASTCase { |
| 1694 | p := &ASTCase{ |
| 1695 | Annotations: e.astAnnotations(n.Annotations), |
| 1696 | Block: e.astBlock(n.Block), |
| 1697 | } |
| 1698 | foreach(n.Conditions, e.astNode, &p.Conditions) |
| 1699 | return p |
| 1700 | }) |
| 1701 | return |
| 1702 | } |
| 1703 | |
| 1704 | func (e *encoder) astClass(n *ast.Class) (outID uint64) { |
| 1705 | e.build(&e.instances.AstClass, e.maps.ASTClass, n, &outID, func() *ASTClass { |