Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
WAST::ModuleParseState Struct Reference

#include <Parse.h>

Inheritance diagram for WAST::ModuleParseState:
Collaboration diagram for WAST::ModuleParseState:

Public Member Functions

 ModuleParseState (const char *inString, const LineInfo *inLineInfo, std::vector< UnresolvedError > &inErrors, const Token *inNextToken, IR::Module &inModule)
 
- Public Member Functions inherited from WAST::ParseState
 ParseState (const char *inString, const LineInfo *inLineInfo, std::vector< UnresolvedError > &inErrors, const Token *inNextToken)
 

Public Attributes

IR::Modulemodule
 
std::map< const IR::FunctionType *, U32functionTypeToIndexMap
 
NameToIndexMap typeNameToIndexMap
 
NameToIndexMap functionNameToIndexMap
 
NameToIndexMap tableNameToIndexMap
 
NameToIndexMap memoryNameToIndexMap
 
NameToIndexMap globalNameToIndexMap
 
IR::DisassemblyNames disassemblyNames
 
std::vector< std::function< void(ModuleParseState &)> > postTypeCallbacks
 
std::vector< std::function< void(ModuleParseState &)> > postDeclarationCallbacks
 
- Public Attributes inherited from WAST::ParseState
const char * string
 
const LineInfolineInfo
 
std::vector< UnresolvedError > & errors
 
const Token * nextToken
 

Detailed Description

Definition at line 115 of file Parse.h.

Constructor & Destructor Documentation

◆ ModuleParseState()

WAST::ModuleParseState::ModuleParseState ( const char * inString,
const LineInfo * inLineInfo,
std::vector< UnresolvedError > & inErrors,
const Token * inNextToken,
IR::Module & inModule )
inline

Definition at line 135 of file Parse.h.

136 : ParseState(inString,inLineInfo,inErrors,inNextToken)
137 , module(inModule)
138 {}
IR::Module & module
Definition Parse.h:117
ParseState(const char *inString, const LineInfo *inLineInfo, std::vector< UnresolvedError > &inErrors, const Token *inNextToken)
Definition Parse.h:35

Member Data Documentation

◆ disassemblyNames

IR::DisassemblyNames WAST::ModuleParseState::disassemblyNames

Definition at line 127 of file Parse.h.

◆ functionNameToIndexMap

NameToIndexMap WAST::ModuleParseState::functionNameToIndexMap

Definition at line 122 of file Parse.h.

◆ functionTypeToIndexMap

std::map<const IR::FunctionType*,U32> WAST::ModuleParseState::functionTypeToIndexMap

Definition at line 119 of file Parse.h.

◆ globalNameToIndexMap

NameToIndexMap WAST::ModuleParseState::globalNameToIndexMap

Definition at line 125 of file Parse.h.

◆ memoryNameToIndexMap

NameToIndexMap WAST::ModuleParseState::memoryNameToIndexMap

Definition at line 124 of file Parse.h.

◆ module

IR::Module& WAST::ModuleParseState::module

Definition at line 117 of file Parse.h.

◆ postDeclarationCallbacks

std::vector<std::function<void(ModuleParseState&)> > WAST::ModuleParseState::postDeclarationCallbacks

Definition at line 133 of file Parse.h.

◆ postTypeCallbacks

std::vector<std::function<void(ModuleParseState&)> > WAST::ModuleParseState::postTypeCallbacks

Definition at line 130 of file Parse.h.

◆ tableNameToIndexMap

NameToIndexMap WAST::ModuleParseState::tableNameToIndexMap

Definition at line 123 of file Parse.h.

◆ typeNameToIndexMap

NameToIndexMap WAST::ModuleParseState::typeNameToIndexMap

Definition at line 120 of file Parse.h.


The documentation for this struct was generated from the following file: