Crate golem_wasm_ast

Source

Modules§

analysis
The analysis module contains functionality built on top of the WASM AST to analyze components.
component
The component module contains the AST definition of the WASM Component Model.
core
The core module contains the AST definition of a core WebAssembly module.
metadata
The metadata module defines data structures for representing various metadata extracted from WASM binaries.

Macros§

new_component_section_cache
new_core_section_cache

Structs§

DefaultAst
The default AST customization, using the real AST nodes.
IgnoreAll
An AST customization that ignores all instructions, custom sections and data sections.
IgnoreAllButMetadata
An AST customization that ignores all instructions, data sections and custom sections except those that hold information parsable by the wasm-metadata crate.
IgnoredCustom
IgnoredData
IgnoredExpr

Enums§

MetadataOnlyCustom

Traits§

AstCustomization
A trait for customizing some of the data types used in the WASM AST.
IndexSpace
An index space defines one of the possible indexes various WASM nodes can belong to.
Section
A section is one top level element of a WASM binary, each having an associated IndexSpace and SectionType.
SectionType
Section type defines the type of a section in a WASM binary