Box pub parsers and adjust visibility
This commit is contained in:
parent
408219073a
commit
9c8d09e3cb
9 changed files with 63 additions and 47 deletions
|
|
@ -1,3 +1,10 @@
|
|||
//! Parse the ast over at [`crate::ast`].
|
||||
//!
|
||||
//! Rules of thumb:
|
||||
//! - Everything `pub` should return a [`BoxedParser`].
|
||||
//! - Everything not used outside a module should not be `pub`. It can always be
|
||||
//! made public later.
|
||||
|
||||
// TODO Turn multiple calls to subparsers into clone-s
|
||||
|
||||
mod basic;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue