| 803 | } |
| 804 | |
| 805 | func (d *decoder) iteration(iterationID uint64) (out *semantic.Iteration) { |
| 806 | |
| 807 | d.build(d.content.Instances.Iteration, &d.inst.Iteration, iterationID, &out, |
| 808 | func(p *Iteration, s *semantic.Iteration) { |
| 809 | s.AST = d.astIteration(p.Ast) |
| 810 | s.Iterator = d.local(p.Iterator) |
| 811 | s.From = d.expr(p.From) |
| 812 | s.To = d.expr(p.To) |
| 813 | s.Block = d.block(p.Block) |
| 814 | }) |
| 815 | return |
| 816 | } |
| 817 | func (d *decoder) length(lengthID uint64) (out *semantic.Length) { |
| 818 | d.build(d.content.Instances.Length, &d.inst.Length, lengthID, &out, |
| 819 | func(p *Length, s *semantic.Length) { |