top | up | prev | next

Actions Class

Definition at line 176 of LexerFile.hpp

Constructors

Actions()

Member Functions

void Add(Action* action)
Action* Get(int id) const

Member Variables

std::map<int, Action*> actionMap
std::vector<std::unique_ptr<Action>> actions

Constructor Details

Actions Constructor

sng2html::sng2html::Actions::Actions()

Definition at line 238 of LexerFile.cpp :
238 : Declaration(U"actions")
239 {
240 }


Declaration at line 179 of LexerFile.hpp


Member Function Details

Add Member Function

void sng2html::sng2html::Actions::Add(Action * action)

Definition at line 242 of LexerFile.cpp :
243 {
244     actions.push_back(std::unique_ptr<Action>(action));
245     actionMap[action->Id()] = action;
246 }


Declaration at line 180 of LexerFile.hpp

Calls: sng2html::sng2html::Action::Id

Called by: sng2html::sng2html::Lexer::AddAction


Get Member Function

Action * sng2html::sng2html::Actions::Get(int id) const

Definition at line 248 of LexerFile.cpp
Declaration at line 181 of LexerFile.hpp


top | up | prev | next