OpenASIP
2.0
|
#include <ParserStructs.hh>
Public Member Functions | |
LiteralOrExpression () | |
std::string | toString () const |
Public Attributes | |
bool | isExpression |
Does object contain expression or literal. More... | |
Expression | expression |
If expression the expression, Otherwise not used. More... | |
UValue | value |
If literal, the literal. Otherwise not used. More... | |
bool | isSigned |
Sign of the value. More... | |
Parsed literal or expression.
Definition at line 245 of file ParserStructs.hh.
|
inline |
Definition at line 248 of file ParserStructs.hh.
|
inline |
String representation of term for error message generation.
Definition at line 263 of file ParserStructs.hh.
References expression, isExpression, Expression::toString(), and value.
Referenced by ParserSource::toString().
Expression LiteralOrExpression::expression |
If expression the expression, Otherwise not used.
Definition at line 253 of file ParserStructs.hh.
Referenced by CodeSectionCreator::finalize(), LabelManager::resolveExpressionValue(), toString(), InitDataField::toString(), and DataSectionCreator::writeDataLineToTPEF().
bool LiteralOrExpression::isExpression |
Does object contain expression or literal.
Definition at line 251 of file ParserStructs.hh.
Referenced by CodeSectionCreator::addAnnotationes(), CodeSectionCreator::finalize(), toString(), InitDataField::toString(), and DataSectionCreator::writeDataLineToTPEF().
bool LiteralOrExpression::isSigned |
Sign of the value.
Definition at line 258 of file ParserStructs.hh.
Referenced by CodeSectionCreator::addAnnotationes(), and DataSectionCreator::writeDataLineToTPEF().
UValue LiteralOrExpression::value |
If literal, the literal. Otherwise not used.
Definition at line 256 of file ParserStructs.hh.
Referenced by CodeSectionCreator::addAnnotationes(), CodeSectionCreator::addMove(), CodeSectionCreator::finalize(), toString(), InitDataField::toString(), and DataSectionCreator::writeDataLineToTPEF().