[][src]Trait alder::StateExt

pub trait StateExt {
    fn peek_nth(&mut self, len: usize) -> Span;
fn nth(&mut self, len: usize) -> Span;
fn next(&mut self) -> Span;
fn peek(&mut self, len: usize) -> Span;
fn chomp(&mut self, len: usize) -> Span;
fn chomp_while(&mut self, f: impl Fn(&str) -> bool) -> Span; }

Required methods

fn peek_nth(&mut self, len: usize) -> Span

fn nth(&mut self, len: usize) -> Span

fn next(&mut self) -> Span

fn peek(&mut self, len: usize) -> Span

fn chomp(&mut self, len: usize) -> Span

fn chomp_while(&mut self, f: impl Fn(&str) -> bool) -> Span

Loading content...

Implementors

impl StateExt for State[src]

Loading content...