From ef53c7a2cb62e5c4a09fab16ced8fc7e615df6f1 Mon Sep 17 00:00:00 2001 From: Siddhangana Date: Mon, 23 Dec 2024 15:05:39 +0800 Subject: [PATCH] Revert codegen.rs to the previous version --- nac3artiq/src/codegen.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/nac3artiq/src/codegen.rs b/nac3artiq/src/codegen.rs index d788c66..653f41a 100644 --- a/nac3artiq/src/codegen.rs +++ b/nac3artiq/src/codegen.rs @@ -102,15 +102,6 @@ impl<'a> ArtiqCodeGenerator<'a> { } } - /// To resolve class name dynamically - name field is used to obtain class name - pub fn get_class_name(&self) -> Option { - if self.name.is_empty() { - None - } else { - Some(self.name.clone()) - } - } - /// If the generator is currently in a direct-`parallel` block context, emits IR that resets the /// position of the timeline to the initial timeline position before entering the `parallel` /// block.