(astClassID uint64)
| 1482 | } |
| 1483 | |
| 1484 | func (d *decoder) astClass(astClassID uint64) (out *ast.Class) { |
| 1485 | d.build(d.content.Instances.AstClass, &d.inst.ASTClass, astClassID, &out, |
| 1486 | func(p *ASTClass, s *ast.Class) { |
| 1487 | s.Annotations = d.astAnnotations(p.Annotations) |
| 1488 | s.Name = d.astIdentifier(p.Name) |
| 1489 | foreach(p.Fields, d.astField, &s.Fields) |
| 1490 | }) |
| 1491 | return |
| 1492 | } |
| 1493 | |
| 1494 | func (d *decoder) astBlock(astBlockID uint64) (out *ast.Block) { |
| 1495 | d.build(d.content.Instances.AstBlock, &d.inst.ASTBlock, astBlockID, &out, |
no test coverage detected