Skip to main content

Crate tiexiu

Crate tiexiu 

Source

Re-exports§

pub use api::*;

Modules§

api
Functional API (free functions) and the OO TieXiu wrapper.
cfg
Configuration system for the parser engine.
context
Parsing context types (cursor, memoization, state).
error
Public error types and result alias.
input
Input sources and cursor abstractions.
peg
PEG grammar representation, compilation, and parsing.
tools
Visualization and diagramming utilities (e.g., railroad diagrams).
trees
Parse-tree types including Tree and TreeMap.
util
Internal utility modules (string tools, patterns, etc.).

Macros§

ensure
PUBLIC: The standard result-based check. It uses ensure_error! to do the heavy lifting.
ensure_error
INTERNAL: Captures the location and condition. This is the “raw” macro that doesn’t return a Result, just the struct itself.

Structs§

ParseError

Enums§

Error
Unified error type for all TieXiu operations.

Type Aliases§

Result
Result type alias with Error as the error variant.