[][src]Struct wain_syntax_text::parser::Parser

pub struct Parser<'s> { /* fields omitted */ }

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.