top | up | prev | next

CharParser Class

Definition at line 89 of Parser.hpp

Constructors

CharParser(char32_t chr_)

Member Functions

void Accept(Visitor& visitor) override
char32_t Chr() const
Parser* Clone() const override

Member Variables

char32_t chr

Constructor Details

CharParser Constructor

sng2html::sng2html::CharParser::CharParser(char32_t chr_)

Definition at line 66 of Parser.cpp :
 66 : Parser(std::u32string(1chr_))chr(chr_)
 67 {
 68 }


Declaration at line 92 of Parser.hpp


Member Function Details

Accept Member Function

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

Definition at line 75 of Parser.cpp :
 76 {
 77     visitor.Visit(*this);
 78 }


Declaration at line 94 of Parser.hpp

Base class overridden functions: sng2html::sng2html::Parser::Accept

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


Chr Member Function

char32_t sng2html::sng2html::CharParser::Chr() const

Definition at line 95 of Parser.hpp :
 95 { return chr; }

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


Clone Member Function

Parser * sng2html::sng2html::CharParser::Clone() const override

Definition at line 70 of Parser.cpp :
 71 {
 72     return new CharParser(chr);
 73 }


Declaration at line 93 of Parser.hpp

Base class overridden functions: sng2html::sng2html::Parser::Clone


top | up | prev | next