[][src]Module autumn::prelude

Common items from the library used when building parsers

Re-exports

pub use crate::combinators::BoxedParserExt;
pub use crate::combinators::ConcatParserExt;
pub use crate::combinators::ListParserExt;
pub use crate::combinators::ParserExt;
pub use crate::combinators::TextParserExt;
pub use crate::parse;
pub use crate::parsers::*;

Structs

List

Persistent linked-list data structure

Meta

Structure to tag an object with a positional information

ParseResult

The result of executing a parser

Span

The location of a sequence of characters within a text source

Traits

Concat

Containers that can be concatenated with each other

Parser

A parser takes an input source and produces an array of potential tagged values and an array of errors.

Functions

new_location

Create a new source file location

path_location

Create a new source file location that knows the source path to the file.