top | up | prev | next

Action Class

Definition at line 165 of LexerFile.hpp

Constructors

Action(int id_, soulng::cppcode::CompoundStatement* stmt_)

Member Functions

soulng::cppcode::CompoundStatement* Code() const
int Id() const

Member Variables

int id
std::unique_ptr<soulng::cppcode::CompoundStatement> stmt

Constructor Details

Action Constructor

sng2html::sng2html::Action::Action(int id_, soulng::cppcode::CompoundStatement* stmt_)

Definition at line 234 of LexerFile.cpp :
234 : id(id_)stmt(stmt_)
235 {
236 }


Declaration at line 168 of LexerFile.hpp


Member Function Details

Code Member Function

soulng::cppcode::CompoundStatement* sng2html::sng2html::Action::Code() const

Definition at line 170 of LexerFile.hpp :
170 { return stmt.get(); }


Id Member Function

int sng2html::sng2html::Action::Id() const

Definition at line 169 of LexerFile.hpp :
169 { return id; }

Called by: sng2html::sng2html::Actions::Add


top | up | prev | next