Expand description
Backend crate for the Holium Rust SDK procedural macro.
Modules§
- ast
- Contains all structures that can be parsed from a
TokenStream
. They will be used when generating code
Macros§
- bail_
span - Immediately fail and return an Err, with the arguments passed to err_span!
- err_
span - Provide a Diagnostic with the given span and message
Structs§
- Diagnostic
- A struct representing a diagnostic to emit to the end-user as an error.
Traits§
- TryTo
Tokens - A trait for converting AST structs into Tokens and adding them to a TokenStream, or providing a diagnostic if conversion fails.