Trait peg_runtime::ParseSlice
source · pub trait ParseSlice<'input>: Parse {
type Slice;
// Required method
fn parse_slice(&'input self, p1: usize, p2: usize) -> Self::Slice;
}
Expand description
A parser input type supporting the $()
syntax.
Required Associated Types§
Required Methods§
sourcefn parse_slice(&'input self, p1: usize, p2: usize) -> Self::Slice
fn parse_slice(&'input self, p1: usize, p2: usize) -> Self::Slice
Get a slice of input.