pub struct Frontend {
parser: Parser,
options: Options,
}Fields§
§parser: Parser§options: OptionsImplementations§
Source§impl Frontend
impl Frontend
pub const fn new() -> Self
pub const fn new_with_options(options: Options) -> Self
pub const fn set_options(&mut self, options: Options)
pub fn parse(&mut self, source: &str) -> Result<Module, ParseError>
fn inner<'a>(&mut self, source: &'a str) -> Result<Module, Box<Error<'a>>>
Auto Trait Implementations§
impl Freeze for Frontend
impl RefUnwindSafe for Frontend
impl Send for Frontend
impl Sync for Frontend
impl Unpin for Frontend
impl UnsafeUnpin for Frontend
impl UnwindSafe for Frontend
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