OpenASIP  2.0
Public Member Functions | Private Attributes | List of all members
AddProcedureActor Class Reference

#include <AssemblerParser.hh>

Collaboration diagram for AddProcedureActor:
Collaboration graph

Public Member Functions

 AddProcedureActor (LabelManager &manager, std::string &name, UValue &value)
 AddProcedureActor. More...
 
void operator() (const char *, const char *) const
 

Private Attributes

LabelManagermanager_
 
std::string & name_
 
UValuevalue_
 

Detailed Description

Actor for adding procedures.

Definition at line 286 of file AssemblerParser.hh.

Constructor & Destructor Documentation

◆ AddProcedureActor()

AddProcedureActor::AddProcedureActor ( LabelManager manager,
std::string &  name,
UValue value 
)

AddProcedureActor.

Adds procedure symbol to label manager.

Parameters
managerLabel manager that is used to label bookkeeping.
nameName of the procedure.
valueInstruction address to procedure start.

Definition at line 190 of file AssemblerParser.cc.

192  :
193  manager_(manager),
194  name_(name), value_(value) {
195 }

Member Function Documentation

◆ operator()()

void AddProcedureActor::operator() ( const char *  ,
const char *   
) const

Definition at line 198 of file AssemblerParser.cc.

198  {
200 }

References LabelManager::addProcedure(), manager_, name_, and value_.

Here is the call graph for this function:

Member Data Documentation

◆ manager_

LabelManager& AddProcedureActor::manager_
private

Definition at line 295 of file AssemblerParser.hh.

Referenced by operator()().

◆ name_

std::string& AddProcedureActor::name_
private

Definition at line 296 of file AssemblerParser.hh.

Referenced by operator()().

◆ value_

UValue& AddProcedureActor::value_
private

Definition at line 297 of file AssemblerParser.hh.

Referenced by operator()().


The documentation for this class was generated from the following files:
AddProcedureActor::value_
UValue & value_
Definition: AssemblerParser.hh:297
LabelManager::addProcedure
void addProcedure(std::string &name, UValue value)
Definition: LabelManager.cc:201
AddProcedureActor::manager_
LabelManager & manager_
Definition: AssemblerParser.hh:295
AddProcedureActor::name_
std::string & name_
Definition: AssemblerParser.hh:296