(bytes scode.Bytes)
| 126 | } |
| 127 | |
| 128 | func (r *recordBuilder) Write(bytes scode.Bytes) { |
| 129 | off := r.len |
| 130 | r.len++ |
| 131 | it := scode.NewRecordIter(bytes, r.typ.Opts) |
| 132 | for k := range r.fields { |
| 133 | elem, none := it.Next(r.typ.Fields[k].Opt) |
| 134 | // The none condition is captured by RLE. |
| 135 | if !none { |
| 136 | r.fields[k].write(elem, off) |
| 137 | } |
| 138 | } |
| 139 | } |
| 140 | |
| 141 | func (r *recordBuilder) Build(sctx *super.Context) Any { |
| 142 | var fields []Any |
nothing calls this directly
no test coverage detected