pub struct CortexPreprocessor { /* private fields */ }
Implementations§
Source§impl CortexPreprocessor
impl CortexPreprocessor
pub fn new() -> Result<Self, Box<dyn Error>>
pub fn run_top_level( &mut self, top_level: TopLevel, ) -> Result<(), Box<dyn Error>>
pub fn register_module( &mut self, path: &PathIdent, module: Module, ) -> Result<(), Box<dyn Error>>
pub fn preprocess(&mut self, body: BasicBody) -> Result<Program, Box<dyn Error>>
pub fn preprocess_function( &mut self, function: PFunction, ) -> Result<RFunction, Box<dyn Error>>
Auto Trait Implementations§
impl Freeze for CortexPreprocessor
impl !RefUnwindSafe for CortexPreprocessor
impl !Send for CortexPreprocessor
impl !Sync for CortexPreprocessor
impl Unpin for CortexPreprocessor
impl !UnwindSafe for CortexPreprocessor
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