top | up | prev | next

KleeneParser Class

Definition at line 137 of Parser.hpp

Constructors

KleeneParser(Parser* child_)

Member Functions

void Accept(Visitor& visitor) override
Parser* Clone() const override
bool IsPostfix() const override

Constructor Details

KleeneParser Constructor

sng2html::sng2html::KleeneParser::KleeneParser(Parser * child_)

Definition at line 132 of Parser.cpp :
132 : UnaryParser(U"kleene"child_)
133 {
134 }


Declaration at line 140 of Parser.hpp


Member Function Details

Accept Member Function

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

Definition at line 141 of Parser.cpp :
142 {
143     visitor.Visit(*this);
144 }


Declaration at line 142 of Parser.hpp

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

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


Clone Member Function

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

Definition at line 136 of Parser.cpp :
137 {
138     return new KleeneParser(Child()->Clone());
139 }


Declaration at line 141 of Parser.hpp

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

Calls: sng2html::sng2html::Parser::Clone , sng2html::sng2html::UnaryParser::Child


IsPostfix Member Function

bool sng2html::sng2html::KleeneParser::IsPostfix() const override

Definition at line 143 of Parser.hpp :
143 { return true; }

Base class overridden functions: sng2html::sng2html::Parser::IsPostfix


top | up | prev | next