OpenASIP
2.0
|
#include <ParserStructs.hh>
Public Member Functions | |
std::string | toString () const |
Public Attributes | |
bool | isRegister |
Is source register or immediate reference. More... | |
RegisterTerm | regTerm |
If register, the register. Otherwise not used. More... | |
LiteralOrExpression | immTerm |
If immediate value, the literal or expression. Otherwise not used. More... | |
Source field of parsed move.
Source can be either RegisterTerm or Immediate.
Definition at line 279 of file ParserStructs.hh.
|
inline |
String representation of term for error message generation.
Definition at line 291 of file ParserStructs.hh.
References immTerm, isRegister, regTerm, RegisterTerm::toString(), and LiteralOrExpression::toString().
Referenced by ParserMove::toString().
LiteralOrExpression ParserSource::immTerm |
If immediate value, the literal or expression. Otherwise not used.
Definition at line 286 of file ParserStructs.hh.
Referenced by CodeSectionCreator::addMove(), and toString().
bool ParserSource::isRegister |
Is source register or immediate reference.
Definition at line 282 of file ParserStructs.hh.
Referenced by CodeSectionCreator::addMove(), and toString().
RegisterTerm ParserSource::regTerm |
If register, the register. Otherwise not used.
Definition at line 284 of file ParserStructs.hh.
Referenced by CodeSectionCreator::addMove(), and toString().