top | up | prev | next

StringParser Class

Definition at line 100 of Parser.hpp

Constructors

StringParser(const std::u32string& str_)

Member Functions

void Accept(Visitor& visitor) override
const std::string& ArrayName() const
Parser* Clone() const override
void SetArrayName(const std::string& arrayName_)
const std::u32string& Str() const

Member Variables

std::string arrayName
std::u32string str

Constructor Details

StringParser Constructor

sng2html::sng2html::StringParser::StringParser(const std::u32string& str_)

Definition at line 80 of Parser.cpp :
 80 : Parser(str_)str(str_)
 81 {
 82 }


Declaration at line 103 of Parser.hpp


Member Function Details

Accept Member Function

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

Definition at line 89 of Parser.cpp :
 90 {
 91     visitor.Visit(*this);
 92 }


Declaration at line 105 of Parser.hpp

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

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


ArrayName Member Function

const std::string& sng2html::sng2html::StringParser::ArrayName() const

Definition at line 108 of Parser.hpp :
108 { return arrayName;  }


Clone Member Function

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

Definition at line 84 of Parser.cpp :
 85 {
 86     return new StringParser(str);
 87 }


Declaration at line 104 of Parser.hpp

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


SetArrayName Member Function

void sng2html::sng2html::StringParser::SetArrayName(const std::string& arrayName_)

Definition at line 94 of Parser.cpp :
 95 {
 96     arrayName = arrayName_;
 97 }


Declaration at line 107 of Parser.hpp


Str Member Function

const std::u32string& sng2html::sng2html::StringParser::Str() const

Definition at line 106 of Parser.hpp :
106 { return str; }

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


top | up | prev | next