[−][src]Struct oakc::hir::HirProgram
Implementations
impl HirProgram
[src]
pub const MINIMUM_MEMORY_SIZE: i32
[src]
pub fn new(decls: Vec<HirDeclaration>, memory_size: i32) -> Self
[src]
pub fn get_declarations(&self) -> &Vec<HirDeclaration>
[src]
pub fn extend_declarations(&mut self, decls: &Vec<HirDeclaration>)
[src]
pub fn use_std(&self) -> bool
[src]
pub fn generate_docs(
&self,
filename: String,
target: &impl Target,
constants: &mut BTreeMap<String, HirConstant>,
ignore_header: bool
) -> String
[src]
&self,
filename: String,
target: &impl Target,
constants: &mut BTreeMap<String, HirConstant>,
ignore_header: bool
) -> String
pub fn compile(
&mut self,
cwd: &PathBuf,
target: &impl Target,
constants: &mut BTreeMap<String, HirConstant>
) -> Result<MirProgram, HirError>
[src]
&mut self,
cwd: &PathBuf,
target: &impl Target,
constants: &mut BTreeMap<String, HirConstant>
) -> Result<MirProgram, HirError>
Trait Implementations
impl Clone for HirProgram
[src]
fn clone(&self) -> HirProgram
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for HirProgram
[src]
Auto Trait Implementations
impl RefUnwindSafe for HirProgram
impl Send for HirProgram
impl Sync for HirProgram
impl Unpin for HirProgram
impl UnwindSafe for HirProgram
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,