top | up | prev | next

Range Class

Definition at line 48 of Symbol.hpp

Constructors

Range(char32_t start_, char32_t end_)

Member Functions

void Accept(Visitor& visitor) override
char32_t End() const
bool IsEmpty() const
bool IsRange() const override
char32_t Start() const

Member Variables

char32_t end
char32_t start

Constructor Details

Range Constructor

sng2html::sng2html::Range::Range(char32_t start_, char32_t end_)

Definition at line 36 of Symbol.cpp :
36 : start(start_)end(end_)
37 {
38 }


Declaration at line 51 of Symbol.hpp


Member Function Details

Accept Member Function

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

Definition at line 40 of Symbol.cpp :
41 {
42     visitor.Visit(*this);
43 }


Declaration at line 52 of Symbol.hpp

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

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


End Member Function

char32_t sng2html::sng2html::Range::End() const

Definition at line 56 of Symbol.hpp :
56 { return end; }

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


IsEmpty Member Function

bool sng2html::sng2html::Range::IsEmpty() const

Definition at line 54 of Symbol.hpp :
54 { return start > end; }


IsRange Member Function

bool sng2html::sng2html::Range::IsRange() const override

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

Base class overridden functions: sng2html::sng2html::Symbol::IsRange


Start Member Function

char32_t sng2html::sng2html::Range::Start() const

Definition at line 55 of Symbol.hpp :
55 { return start; }

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


top | up | prev | next