Emits a sequence of bytecodes.
(&mut self, bcs: Vec<Bytecode>)
| 160 | |
| 161 | /// Emits a sequence of bytecodes. |
| 162 | pub fn emit_vec(&mut self, bcs: Vec<Bytecode>) { |
| 163 | for bc in bcs { |
| 164 | self.emit(bc); |
| 165 | } |
| 166 | } |
| 167 | |
| 168 | /// Emits a bytecode via a function which takes a freshly generated attribute id. |
| 169 | pub fn emit_with<F>(&mut self, f: F) |