pub struct Parser { /* private fields */ }
Implementations§
source§impl Parser
impl Parser
pub fn new(files: FileLoader, source: FilePath) -> Result<Parser>
pub fn load_frontend( files: FileLoader, source: &str, ) -> Result<ManifestFrontEnd>
pub fn load_manifest( &self, path: &FilePath, loading: &mut HashSet<ModuleId>, ) -> Result<ManifestFrontEnd>
pub fn get_intermediate_representation( &self, channel: Option<&str>, ) -> Result<FeatureManifest, FMLError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Parser
impl !RefUnwindSafe for Parser
impl Send for Parser
impl Sync for Parser
impl Unpin for Parser
impl !UnwindSafe for Parser
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
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>
Read more