make stuff private
This commit is contained in:
@@ -68,7 +68,7 @@ pub(crate) struct ParserImpl<'t> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl<'t> ParserImpl<'t> {
|
impl<'t> ParserImpl<'t> {
|
||||||
pub(crate) fn new(inp: &'t ParserInput<'t>) -> ParserImpl<'t> {
|
fn new(inp: &'t ParserInput<'t>) -> ParserImpl<'t> {
|
||||||
ParserImpl {
|
ParserImpl {
|
||||||
parser_input: inp,
|
parser_input: inp,
|
||||||
pos: InputPosition::new(),
|
pos: InputPosition::new(),
|
||||||
@@ -77,7 +77,7 @@ impl<'t> ParserImpl<'t> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub(crate) fn into_events(self) -> Vec<Event> {
|
fn into_events(self) -> Vec<Event> {
|
||||||
assert_eq!(self.nth(0), EOF);
|
assert_eq!(self.nth(0), EOF);
|
||||||
self.events
|
self.events
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user