[−][src]Crate open_vaf
A frontend for Verilog AMS that returns an Tree based IR as its end result
let source_map_allocator = Bump::new(); let source_map = ast .parse_from_and_print_errors(Path::new("<File>"), &source_map_allocator, true)?; let hir = ast .lower_and_print_errors(source_map, true)?; let mir = hir .lower_and_print_errors(source_map, true)?;
Re-exports
pub use bumpalo; |
pub use ahash; |
pub use rustc_hash; |
Modules
analysis | |
ast | |
ast_lowering | |
cfg | |
data_structures | |
hir | |
ir | |
mir | |
parser | |
symbol | |
symbol_table | |
util |
Macros
impl_id_type | Provides the implementation which allows the data of an IR to be accessed using an ID type generated using the |
resolve | A macro that hides the boiler plate required for name resolution using the resolver struct
It is defined in the |
resolve_hierarchical | A macro that hides the boiler plate required for name resolution of hieraichal Identifiers using the resolver struct
It is defined in the |
Structs
SourceMap | |
Span | |
StringLiteral |