|
OpenASIP 2.2
|
#include <ParserStructs.hh>

Public Member Functions | |
| LiteralOrExpression () | |
| std::string | toString () const |
Public Attributes | |
| bool | isExpression |
| Does object contain expression or literal. | |
| Expression | expression |
| If expression the expression, Otherwise not used. | |
| UValue | value |
| If literal, the literal. Otherwise not used. | |
| bool | isSigned |
| Sign of the value. | |
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 AssemblerParser::definition< ScannerT >::definition(), 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(), AssemblerParser::definition< ScannerT >::definition(), 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(), AssemblerParser::definition< ScannerT >::definition(), 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(), AssemblerParser::definition< ScannerT >::definition(), CodeSectionCreator::finalize(), toString(), InitDataField::toString(), and DataSectionCreator::writeDataLineToTPEF().