top | up | prev | next

Char Class

Definition at line 29 of Symbol.hpp

Constructors

Char(char32_t chr_)

Member Functions

void Accept(Visitor& visitor) override
char32_t Chr() const
bool IsChar() const override

Member Variables

char32_t chr

Constructor Details

Char Constructor

sng2html::sng2html::Char::Char(char32_t chr_)

Definition at line 18 of Symbol.cpp :
18 : chr(chr_)
19 {
20 }


Declaration at line 32 of Symbol.hpp


Member Function Details

Accept Member Function

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

Definition at line 22 of Symbol.cpp :
23 {
24     visitor.Visit(*this);
25 }


Declaration at line 34 of Symbol.hpp

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

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


Chr Member Function

char32_t sng2html::sng2html::Char::Chr() const

Definition at line 35 of Symbol.hpp :
35 { return chr; }

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


IsChar Member Function

bool sng2html::sng2html::Char::IsChar() const override

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

Base class overridden functions: sng2html::sng2html::Symbol::IsChar


top | up | prev | next