syntacks 0.1.0-alpha0.2

An opinionated parser library for Rust
Documentation
1
2
3
4
5
6
7
8
pub trait Source<'src>: Clone + PartialEq {
	type Item;

	fn items(&'src self) -> impl Iterator<Item = Self::Item>;
	fn len(&self) -> usize;

	fn is_empty(&self) -> bool;
}