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::*;

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
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.
TextFormatter
This struct is responsible for analysing text, interpreting indices and ranges, and producing formatted messages.

Type Aliases§

ParseResult
Just alias