top | up | prev | next

Symbol Abstract Class

Definition at line 14 of Symbol.hpp

Constructors

Symbol()

Member Functions

void Accept(Visitor& visitor) pure virtual
bool IsAny() const virtual
bool IsChar() const virtual
bool IsClass() const virtual
bool IsRange() const virtual
const std::string& Name() const

Member Variables

std::string name

Constructor Details

Symbol Constructor

sng2html::sng2html::Symbol::Symbol()

Definition at line 10 of Symbol.cpp :
11 {
12 }


Declaration at line 17 of Symbol.hpp


Member Function Details

Accept Member Function

void sng2html::sng2html::Symbol::Accept(Visitor & visitor) pure virtual

Definition at line 19 of Symbol.hpp

Derived class overrides: sng2html::sng2html::Any::Accept , sng2html::sng2html::Char::Accept , sng2html::sng2html::Class::Accept , sng2html::sng2html::Range::Accept

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


IsAny Member Function

bool sng2html::sng2html::Symbol::IsAny() const virtual

Definition at line 22 of Symbol.hpp :
22 { return false; }

Derived class overrides: sng2html::sng2html::Any::IsAny


IsChar Member Function

bool sng2html::sng2html::Symbol::IsChar() const virtual

Definition at line 21 of Symbol.hpp :
21 { return false; }

Derived class overrides: sng2html::sng2html::Char::IsChar

Called by: sng2html::sng2html::SymbolExpr::IsCharSymbolExpr


IsClass Member Function

bool sng2html::sng2html::Symbol::IsClass() const virtual

Definition at line 20 of Symbol.hpp :
20 { return false; }

Derived class overrides: sng2html::sng2html::Class::IsClass


IsRange Member Function

bool sng2html::sng2html::Symbol::IsRange() const virtual

Definition at line 23 of Symbol.hpp :
23 { return false; }

Derived class overrides: sng2html::sng2html::Range::IsRange


Name Member Function

const std::string& sng2html::sng2html::Symbol::Name() const

Definition at line 24 of Symbol.hpp :
24 { return name; }


top | up | prev | next