[−][src]Struct wain_syntax_text::parser::Parser
Implementations
impl<'s> Parser<'s>[src]
pub fn new(source: &'s str) -> Self[src]
pub fn with_lexer(lexer: LookAhead<Lexer<'s>>) -> Self[src]
pub fn source(&self) -> &'s str[src]
pub fn into_lexer(self) -> LookAhead<Lexer<'s>>[src]
pub fn is_done(&self) -> bool[src]
pub fn parse_wat(self) -> Result<Parsed<'s>, Box<ParseError<'s>>>[src]
pub fn parse<P: Parse<'s>>(&mut self) -> Result<P, Box<ParseError<'s>>>[src]
pub fn current_pos(&self) -> Result<Option<usize>, Box<ParseError<'s>>>[src]
Auto Trait Implementations
impl<'s> RefUnwindSafe for Parser<'s>
impl<'s> Send for Parser<'s>
impl<'s> Sync for Parser<'s>
impl<'s> Unpin for Parser<'s>
impl<'s> UnwindSafe for Parser<'s>
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, 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>,