Expand description
This module defines the CompileContext
and associated structures
used for compiling a regular expression NFA into a WASM module.
Structsยง
- Active
Data Segment - Represents an active data segment to be included in the WASM module.
- Block
Signature - Describes the signature of a block type (e.g., for
if
,loop
,block
). It includes a descriptive name, parameter types, and result types. - Compile
Context - This struct contains all the input and intermediate state needed to compile the WASM module.
- Function
- Contains the full definition of a function: signature and definition.
- Function
Definition - Contains the definition of a function: its body, local names, label names, and branch hints.
- Function
Idx - This index type represents a pointer to a specific
Function
. - Function
Signature - Describes the signature of a function: its name, parameters, results, and export status.
- Sections
- Contains the various sections of a WASM module being built. Declarations are added here, and definitions are stored for later assembly.
- TypeIdx
- This index type represents a pointer to a specific type, be it function or block signature.