Module parce::prelude[][src]

Expand description

All the usual imports that the user will need to use.

This is not the same as the prelude used by the generated code. Users should this this module, (e.g. use parce::prelude::*;), while the generated code uses the internal prelude, (e.g. use parce::internal_prelude::*;).

Re-exports

pub use crate::lexer::Lexer;
pub use crate::parser::Parse;
pub use crate::parser::ParseCompletion;
pub use crate::error::ParceError;

Attribute Macros

lexer

Generates a lexer enum and implements the Lexer trait for it.

parser

Generates an implementation of the Parseable and FromStr traits for an enum.