Expand description
Event-based parser for the Styx configuration language.
This crate provides a low-level lexer and event-based parser for Styx documents.
It’s designed to be used by higher-level tools like styx-tree (document tree)
and facet-styx (serde-like deserialization).
Re-exports§
pub use callback::ParseCallback;pub use event::Event;pub use event::ParseErrorKind;pub use event::ScalarKind;pub use event::Separator;pub use parser::Parser;
Modules§
- callback
- Callback trait for event-based parsing.
- event
- Event types for the Styx event-based parser.
- parser
- Event-based parser for Styx.
Structs§
- Lexer
- A lexer that produces tokens from Styx source text.
- Span
- A span representing a range in the source text.
- Token
- A token with its kind, span, and source text slice.
Enums§
- Token
Kind - The kind of a token.