[][src]Struct dora_parser::lexer::reader::Reader

pub struct Reader { /* fields omitted */ }

Methods

impl Reader[src]

pub fn from_input() -> Result<Reader, Error>[src]

pub fn from_file(filename: &str) -> Result<Reader, Error>[src]

pub fn from_string(src: &str) -> Reader[src]

pub fn set_tabwidth(&mut self, tabwidth: u32)[src]

pub fn path(&self) -> &str[src]

pub fn advance(&mut self) -> Option<char>[src]

pub fn file(self) -> File[src]

pub fn curr(&self) -> Option<char>[src]

pub fn nth(&self, offset: usize) -> Option<char>[src]

pub fn pos(&self) -> Position[src]

pub fn idx(&self) -> u32[src]

Auto Trait Implementations

impl Send for Reader

impl Sync for Reader

impl Unpin for Reader

impl UnwindSafe for Reader

impl RefUnwindSafe for Reader

Blanket Implementations

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

impl<T> From<T> 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> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Erased for T