[−][src]Crate nommy
Re-exports
pub use impls::Vec1; |
Modules
impls | |
surrounded | |
token | |
tuple |
Macros
Tag | Create a new Tag parse type. |
Structs
Buffer | Buffer is a wrapper around an Iterator, highly linked to Cursor |
Cursor | Cursors are heavily related to Buffers. Refer there for documentation |
Traits
Parse | An interface for creating and composing parsers Takes in a Buffer iterator and consumes a subset of it, Returning Self if it managed to parse ok, otherwise returning a meaningful error Parse can be derived for some types |
Peek | An interface with dealing with parser-peeking. The required function peek takes in a Cursor iterator and will attempt to loosely parse the data provided, asserting that if the equivalent Buffer is given to the Parse::parse function, it should succeed. |
Process | Process is a standard interface to map a generated AST from the output of Parse::parse. All types that implement Parse should implement this trait. |
Functions
parse | parse takes the given iterator, putting it through |
Derive Macros
Parse | Derive Parse for structs |