1mod input;
2mod length;
3mod string;
4mod cursor;
5mod text;
6mod text_file;
7mod show;
8mod pear;
9
10pub use self::pear::{Pear, Debugger, Options};
11pub use input::{Input, Rewind, Token, Slice, ParserInfo};
12pub use cursor::{Cursor, Extent};
13pub use text::{Text, Span};
14pub use length::Length;
15pub use show::Show;
16
17use crate::error;
18
19pub type Expected<I> = error::Expected<<I as Input>::Token, <I as Input>::Slice>;
20pub type ParseError<I> = error::ParseError<<I as Input>::Context, Expected<I>>;
21pub type Result<T, I> = std::result::Result<T, ParseError<I>>;
22
23