V-Gears 0
Free Final Fantasy VII engine.
Assembler::Method Class Reference

Public Member Functions

 Method (const std::string &name)
 
bool AddLabel (std::string name, const Tokenzier::Token &token)
 
void AddJump (const std::string &label, const Tokenzier::Token &token)
 
void VerifyAndResolveLabels (JumpToken &unreferencedLabels, JumpToken &undefinedLabels)
 

Private Attributes

std::string mName
 
std::map< std::string, Tokenzier::TokenmLabels
 
std::map< std::string, std::vector< Tokenzier::Token > > mJumps
 

Constructor & Destructor Documentation

◆ Method()

Assembler::Method::Method ( const std::string &  name)
inline

Member Function Documentation

◆ AddJump()

void Assembler::Method::AddJump ( const std::string &  label,
const Tokenzier::Token token 
)
inline

◆ AddLabel()

bool Assembler::Method::AddLabel ( std::string  name,
const Tokenzier::Token token 
)
inline

◆ VerifyAndResolveLabels()

void Assembler::Method::VerifyAndResolveLabels ( JumpToken unreferencedLabels,
JumpToken undefinedLabels 
)
inline

Member Data Documentation

◆ mJumps

std::map<std::string, std::vector<Tokenzier::Token> > Assembler::Method::mJumps
private

◆ mLabels

std::map<std::string, Tokenzier::Token> Assembler::Method::mLabels
private

◆ mName

std::string Assembler::Method::mName
private

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