Exit annotation scope - similar to exit_scope but restores annotation_block to parent
(&mut self, saved_ctx: CompileContext)
| 1359 | |
| 1360 | /// Exit annotation scope - similar to exit_scope but restores annotation_block to parent |
| 1361 | fn exit_annotation_scope(&mut self, saved_ctx: CompileContext) -> CodeObject { |
| 1362 | self.pop_annotation_symbol_table(); |
| 1363 | self.ctx = saved_ctx; |
| 1364 | |
| 1365 | let pop = self.code_stack.pop(); |
| 1366 | let stack_top = compiler_unwrap_option(self, pop); |
| 1367 | unwrap_internal(self, stack_top.finalize_code(&self.opts)) |
| 1368 | } |
| 1369 | |
| 1370 | /// Enter annotation scope using the symbol table's annotation_block. |
| 1371 | /// Returns None if no annotation_block exists. |
no test coverage detected