forked from M-Labs/nac3
Revert codegen.rs to the previous version
This commit is contained in:
parent
7ad72b7eea
commit
ef53c7a2cb
@ -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<String> {
|
|
||||||
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
|
/// 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`
|
/// position of the timeline to the initial timeline position before entering the `parallel`
|
||||||
/// block.
|
/// block.
|
||||||
|
Loading…
Reference in New Issue
Block a user