Expand description
A cross-language schema compiler that generates type definitions and serialization code from a simple, declarative schema language. This crate contains the Abstract Syntaxt Tree (AST), errors and parsing code for the Geno tool.
Modules§
Structs§
- Location
- A location within a source file
- Parser
- A parser for Geno schemas
- Standard
File Resolver - A standard file resolver that uses a [
HashSet] to track included files. - Token
- A token together with its position in the source.
- Tokenizer
- Lexical tokenizer for the Geno schema language.
Enums§
- Parser
Error - Error produced by the parser.
- Resolver
Error - Error type for file resolver operations.
- Token
Kind - Every distinct token kind in the Geno language.
- Tokenize
Error - Error produced by the tokenizer.
Traits§
- File
Resolver - Trait for resolving file paths and reading file contents.