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

#include <AssemblerParser.hh>

Collaboration diagram for AddMoveActor:
Collaboration graph

Public Member Functions

 AddMoveActor (CodeSectionCreator &creator, const ParserMove &move)
 AddMoveActor. More...
 
void operator() (const char *, const char *) const
 

Private Attributes

CodeSectionCreatorcreator_
 
const ParserMovemove_
 

Detailed Description

Actor for adding moves to creator.

Definition at line 223 of file AssemblerParser.hh.

Constructor & Destructor Documentation

◆ AddMoveActor()

AddMoveActor::AddMoveActor ( CodeSectionCreator creator,
const ParserMove move 
)

AddMoveActor.

Adds parsed move to code section creator.

Parameters
creatorCreator where to add move.
moveMove to add.

Definition at line 104 of file AssemblerParser.cc.

106  :
107  creator_(creator), move_(move) {
108 }

Member Function Documentation

◆ operator()()

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

Definition at line 111 of file AssemblerParser.cc.

111  {
113 }

References CodeSectionCreator::addMove(), creator_, and move_.

Here is the call graph for this function:

Member Data Documentation

◆ creator_

CodeSectionCreator& AddMoveActor::creator_
private

Definition at line 231 of file AssemblerParser.hh.

Referenced by operator()().

◆ move_

const ParserMove& AddMoveActor::move_
private

Definition at line 232 of file AssemblerParser.hh.

Referenced by operator()().


The documentation for this class was generated from the following files:
AddMoveActor::move_
const ParserMove & move_
Definition: AssemblerParser.hh:232
CodeSectionCreator::addMove
void addMove(const ParserMove &move)
Definition: CodeSectionCreator.cc:102
AddMoveActor::creator_
CodeSectionCreator & creator_
Definition: AssemblerParser.hh:231