top | up | prev | next

Class Class

Definition at line 74 of Symbol.hpp

Constructors

Class(int index_)

Member Functions

void Accept(Visitor& visitor) override
void AddSymbol(Symbol* symbol)
int Index() const
bool Inverse() const
bool IsClass() const override
bool IsEmpty() const
void SetInverse()
const std::vector<Symbol*>& Symbols() const

Member Variables

int index
bool inverse
std::vector<Symbol*> symbols

Constructor Details

Class Constructor

sng2html::sng2html::Class::Class(int index_)

Definition at line 45 of Symbol.cpp :
45 : index(index_)inverse(false)
46 {
47 }


Declaration at line 77 of Symbol.hpp


Member Function Details

Accept Member Function

void sng2html::sng2html::Class::Accept(Visitor & visitor) override

Definition at line 49 of Symbol.cpp :
50 {
51     visitor.Visit(*this);
52 }


Declaration at line 78 of Symbol.hpp

Base class overridden functions: sng2html::sng2html::Symbol::Accept

Calls: sng2html::sng2html::Visitor::Visit


AddSymbol Member Function

void sng2html::sng2html::Class::AddSymbol(Symbol * symbol)

Definition at line 54 of Symbol.cpp :
55 {
56     symbols.push_back(symbol);
57 }


Declaration at line 83 of Symbol.hpp

Called by: RegExParser::Class


Index Member Function

int sng2html::sng2html::Class::Index() const

Definition at line 84 of Symbol.hpp :
84 { return index; }


Inverse Member Function

bool sng2html::sng2html::Class::Inverse() const

Definition at line 80 of Symbol.hpp :
80 { return inverse; }

Called by: sng2html::sng2html::GrammarHtmlGeneratorVisitor::Visit


IsClass Member Function

bool sng2html::sng2html::Class::IsClass() const override

Definition at line 79 of Symbol.hpp :
79 { return true; }

Base class overridden functions: sng2html::sng2html::Symbol::IsClass


IsEmpty Member Function

bool sng2html::sng2html::Class::IsEmpty() const

Definition at line 85 of Symbol.hpp :
85 { return symbols.empty(); }


SetInverse Member Function

void sng2html::sng2html::Class::SetInverse()

Definition at line 81 of Symbol.hpp :
81 { inverse = true; }

Called by: RegExParser::Class


Symbols Member Function

const std::vector<Symbol *>& sng2html::sng2html::Class::Symbols() const

Definition at line 82 of Symbol.hpp :
82 { return symbols; }


top | up | prev | next