top
|
up
|
prev
|
next
TokenParser Class
Definition at line
77
of
Parser.hpp
Constructors
TokenParser
(
const
std::u32string& tokenName_)
Member Functions
void
Accept
(
Visitor
& visitor)
override
Parser
*
Clone
()
const override
bool
IsToken
()
const override
const
std::u32string&
TokenName
()
const
Member Variables
std::u32string
tokenName
Constructor Details
TokenParser Constructor
sng2html::sng2html::TokenParser::TokenParser(
const
std::u32string& tokenName_)
Definition at line
52
of
Parser.cpp
:
52
:
Parser
(
tokenName_
)
,
tokenName
(
tokenName_
)
53
{
54
}
Declaration at line
80
of
Parser.hpp
Member Function Details
Accept Member Function
void
sng2html::sng2html::TokenParser::Accept(
Visitor
& visitor)
override
Definition at line
61
of
Parser.cpp
:
62
{
63
visitor
.
Visit
(
*
this
)
;
64
}
Declaration at line
82
of
Parser.hpp
Base class overridden functions:
sng2html::sng2html::Parser::Accept
Calls:
sng2html::sng2html::Visitor::Visit
Clone Member Function
Parser
* sng2html::sng2html::TokenParser::Clone()
const override
Definition at line
56
of
Parser.cpp
:
57
{
58
return
new
TokenParser
(
tokenName
)
;
59
}
Declaration at line
81
of
Parser.hpp
Base class overridden functions:
sng2html::sng2html::Parser::Clone
IsToken Member Function
bool
sng2html::sng2html::TokenParser::IsToken()
const override
Definition at line
83
of
Parser.hpp
:
83
{
return
true
;
}
Base class overridden functions:
sng2html::sng2html::Parser::IsToken
TokenName Member Function
const
std::u32string& sng2html::sng2html::TokenParser::TokenName()
const
Definition at line
84
of
Parser.hpp
:
84
{
return
tokenName
;
}
Called by:
sng2html::sng2html::GrammarHtmlGeneratorVisitor::Visit
top
|
up
|
prev
|
next