[−][src]Trait lite_parser::traits::Input
Associated Types
Loading content...Required methods
fn next(
&self,
pos: Self::Position
) -> Result<(char, Self::Position), Self::Error>
&self,
pos: Self::Position
) -> Result<(char, Self::Position), Self::Error>
fn next_range(
&self,
start: Self::Position,
counts: u32
) -> Result<(&str, Self::Position), Self::Error>
&self,
start: Self::Position,
counts: u32
) -> Result<(&str, Self::Position), Self::Error>
fn error_at(&self, pos: Self::Position, reason: &'static str) -> Self::Error
fn is_end(&self, pos: Self::Position) -> bool
Implementations on Foreign Types
impl<'_> Input for &'_ str[src]
type Position = SimplePosition
type Error = SimpleError
fn next(
&self,
pos: Self::Position
) -> Result<(char, Self::Position), Self::Error>[src]
&self,
pos: Self::Position
) -> Result<(char, Self::Position), Self::Error>
fn next_range(
&self,
start: Self::Position,
counts: u32
) -> Result<(&str, Self::Position), Self::Error>[src]
&self,
start: Self::Position,
counts: u32
) -> Result<(&str, Self::Position), Self::Error>