Crate holium_backend

Source
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§

TryToTokens
A trait for converting AST structs into Tokens and adding them to a TokenStream, or providing a diagnostic if conversion fails.