(astCaseID uint64)
| 1472 | } |
| 1473 | |
| 1474 | func (d *decoder) astCase(astCaseID uint64) (out *ast.Case) { |
| 1475 | d.build(d.content.Instances.AstCase, &d.inst.ASTCase, astCaseID, &out, |
| 1476 | func(p *ASTCase, s *ast.Case) { |
| 1477 | s.Annotations = d.astAnnotations(p.Annotations) |
| 1478 | s.Block = d.astBlock(p.Block) |
| 1479 | foreach(p.Conditions, d.astNode, &s.Conditions) |
| 1480 | }) |
| 1481 | return |
| 1482 | } |
| 1483 | |
| 1484 | func (d *decoder) astClass(astClassID uint64) (out *ast.Class) { |
| 1485 | d.build(d.content.Instances.AstClass, &d.inst.ASTClass, astClassID, &out, |