Module parce::internal_prelude[][src]

Expand description

Contains reexported crates and types used by the code generated by the lexer and parser macros, as well as a prelude with some internal types.

This way, the generated code can simply use parce::internal_prelude::* and not worry about it. The user should not need to use this module directly, and instead using use parce::prelude::* should be sufficient.

Re-exports

pub use inventory;
pub use crate::parser::*;
pub use crate::parser::automata::*;
pub use crate::lexer::*;

Macros

array_vec

Helper to make an ArrayVec.

lazy_static
tiny_vec

Helper to make a TinyVec.

Structs

ArrayVec

An array-backed, vector-like data structure.

Regex

A compiled regular expression for matching Unicode strings.

Rule

A TypeId represents a globally unique identifier for a type.

Enums

TinyVec

A vector that starts inline, but can automatically move to the heap.