Rosetta
2019.07
|
#include <Arithmetic.hh>
Public Member Functions | |
VariableToken () | |
VariableToken (std::string name) | |
TokenType | type () const override |
std::string | to_string () const override |
std::string | name () const |
void | name (std::string const &name) |
Public Member Functions inherited from numeric::expression_parser::Token | |
~Token () override | |
Automatically generated virtual destructor for class deriving directly from ReferenceCount. More... | |
Public Member Functions inherited from utility::pointer::ReferenceCount | |
ReferenceCount () | |
Default constructor. More... | |
virtual | ~ReferenceCount () |
Private Attributes | |
std::string | name_ |
Additional Inherited Members | |
Public Types inherited from utility::pointer::ReferenceCount | |
typedef platform::Size | Size |
typedef platform::Size | size_type |
numeric::expression_parser::VariableToken::VariableToken | ( | ) |
numeric::expression_parser::VariableToken::VariableToken | ( | std::string | name | ) |
std::string numeric::expression_parser::VariableToken::name | ( | ) | const |
void numeric::expression_parser::VariableToken::name | ( | std::string const & | name | ) |
|
overridevirtual |
Implements numeric::expression_parser::Token.
References name_.
|
overridevirtual |
Implements numeric::expression_parser::Token.
References numeric::expression_parser::VARIABLE.
|
private |
Referenced by name(), and to_string().