Expand description
§styx-parse
Event-based parser for the Styx configuration language. This crate provides low-level parsing primitives that other Styx crates build upon.
§Sponsors
Thanks to all individual sponsors:
…along with corporate sponsors:
…without whom this work could not exist.
§License
Licensed under either of:
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Structs§
- Event
- An event emitted by the parser, with its source location.
- Lexer
- Lexer that produces lexemes from tokens.
- Parser
- Pull-based event parser for Styx.
- Span
- A span representing a range in the source text.
- Token
- A token with its kind, span, and source text slice.
- Tokenizer
- A tokenizer that produces tokens from Styx source text.
Enums§
- Event
Kind - The kind of event emitted by the parser.
- Lexeme
- A lexeme produced by the Lexer from raw tokens.
- Parse
Error Kind - Parse error kinds.
- Scalar
Kind - Kind of scalar.
- Token
Kind - The kind of a token.