Expand description
Odra intermediate representation (IR) and abstractions.
This module defines everything Odra procedural macro needs in order to parse, analyze and generate code for smart contracts.
This crate takes care of parsing and analyzing code. This process may fail
return syn::Error
.
All the items are based on syn with special variants for Odra impl
items.
Modules§
- module
- Odra module-related abstractions.
Structs§
- Error
Enum Item - User defined contract error with all required information.
- Event
Item - Odra event definition.
- External
Contract Item - Odra external contract trait definition.
- Instance
Item - Odra module instance definition.
- MapExpr
Enums§
- Odra
Type Item - Odra Type definition.