Crate mech_syntax

Crate mech_syntax 

Source

Re-exports§

pub use crate::parser::*;
pub use crate::mechdown::*;
pub use crate::expressions::*;
pub use crate::statements::*;
pub use crate::structures::*;
pub use crate::base::*;
pub use crate::formatter::*;
pub use crate::grammar::*;
pub use crate::literals::*;
pub use crate::state_machines::*;
pub use crate::functions::*;
pub use crate::repl::*;

Modules§

base
expressions
formatter
functions
grammar
graphemes
Unicode grapheme group utilities. Current implementation does not guarantee correct behavior for all possible unicode characters.
literals
mechdown
parser
repl
state_machines
statements
structures

Macros§

label
labelr

Structs§

ParseError
The error type for the nom parser, which handles full error context (location + detail) and ownership of the input ParseString.
ParseErrorDetail
The part of error context that’s independent to its cause location.
ParseString
The input type for nom parsers. Instead of holding the actual input string, this struct only holds a reference to that string so that it can be cloned at much lower cost.
ParserErrorContext
ParserErrorReport
TextFormatter
This struct is responsible for analysing text, interpreting indices and ranges, and producing formatted messages.

Functions§

alt_best
Try a list of parsers in order, tracking successes, failures, and errors. Returns the best success if any, else best failure, else best error.

Type Aliases§

ParseResult
Just alias