pub struct LiterateHaskellParser { /* private fields */ }Expand description
Parses a Literate Haskell document by masking out the code and considering text as Markdown.
Implementations§
Source§impl LiterateHaskellParser
impl LiterateHaskellParser
pub fn new(inner: Lrc<dyn Parser>) -> Self
pub fn new_markdown(markdown_options: MarkdownOptions) -> Self
pub fn create_ident_dict( &self, source: &[char], markdown_options: MarkdownOptions, ) -> Option<MutableDictionary>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LiterateHaskellParser
impl !RefUnwindSafe for LiterateHaskellParser
impl !Send for LiterateHaskellParser
impl !Sync for LiterateHaskellParser
impl Unpin for LiterateHaskellParser
impl !UnwindSafe for LiterateHaskellParser
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more