top | up | prev | next

PositiveParser Class

Definition at line 146 of Parser.hpp

Constructors

PositiveParser(Parser* child_)

Member Functions

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

Constructor Details

PositiveParser Constructor

sng2html::sng2html::PositiveParser::PositiveParser(Parser * child_)

Definition at line 146 of Parser.cpp :
146 : UnaryParser(U"positive"child_)
147 {
148 }


Declaration at line 149 of Parser.hpp


Member Function Details

Accept Member Function

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

Definition at line 155 of Parser.cpp :
156 {
157     visitor.Visit(*this);
158 }


Declaration at line 151 of Parser.hpp

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

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


Clone Member Function

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

Definition at line 150 of Parser.cpp :
151 {
152     return new PositiveParser(Child()->Clone());
153 }


Declaration at line 150 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::PositiveParser::IsPostfix() const override

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

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


top | up | prev | next