Skip to main content

Crate styx_parse

Crate styx_parse 

Source
Expand description

§styx-parse

crates.io documentation MIT/Apache-2.0 licensed

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:

GitHub Sponsors Patreon

…along with corporate sponsors:

AWS Zed Depot

…without whom this work could not exist.

§License

Licensed under either of:

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§

EventKind
The kind of event emitted by the parser.
Lexeme
A lexeme produced by the Lexer from raw tokens.
ParseErrorKind
Parse error kinds.
ScalarKind
Kind of scalar.
TokenKind
The kind of a token.