pub struct GaiaEmitter {
pub target_arch: String,
pub standalone: bool,
/* private fields */
}Expand description
Unified emitter for Gaia. Directly generates Gaia IR (GaiaModule) to avoid assembly parsing overhead.
Fields§
§target_arch: String§standalone: boolImplementations§
Source§impl GaiaEmitter
impl GaiaEmitter
pub fn new(target_arch: &str) -> Self
pub fn with_backend(self, name: &str, backend: Arc<dyn GaiaBackend>) -> Self
pub fn emit(&self, tree: &IKunTree) -> ChomskyResult<BackendArtifact>
pub fn standalone(self) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GaiaEmitter
impl !RefUnwindSafe for GaiaEmitter
impl !Send for GaiaEmitter
impl !Sync for GaiaEmitter
impl Unpin for GaiaEmitter
impl !UnwindSafe for GaiaEmitter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more