[][src]Struct prolog_parser::lexer::Lexer

pub struct Lexer<'a, R: Read> { /* fields omitted */ }

Implementations

impl<'a, R: Read> Lexer<'a, R>[src]

pub fn new(
    atom_tbl: TabledData<Atom>,
    flags: MachineFlags,
    src: &'a mut ParsingStream<R>
) -> Self
[src]

pub fn eof(&mut self) -> Result<bool, ParserError>[src]

pub fn lookahead_char(&mut self) -> Result<char, ParserError>[src]

pub fn number_token(&mut self) -> Result<Token, ParserError>[src]

pub fn scan_for_layout(&mut self) -> Result<bool, ParserError>[src]

pub fn next_token(&mut self) -> Result<Token, ParserError>[src]

Trait Implementations

impl<'a, R: Read + Debug> Debug for Lexer<'a, R>[src]

Auto Trait Implementations

impl<'a, R> !RefUnwindSafe for Lexer<'a, R>

impl<'a, R> !Send for Lexer<'a, R>

impl<'a, R> !Sync for Lexer<'a, R>

impl<'a, R> Unpin for Lexer<'a, R>

impl<'a, R> !UnwindSafe for Lexer<'a, R>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Az for T[src]

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

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

impl<T> CheckedAs for T[src]

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

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

impl<T> OverflowingAs for T[src]

impl<T> SaturatingAs for 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.

impl<T> WrappingAs for T[src]