|
OpenASIP 2.2
|
#include <ParserStructs.hh>

Public Member Functions | |
| std::string | toString () const |
Public Attributes | |
| bool | isRegister |
| Is source register or immediate reference. | |
| RegisterTerm | regTerm |
| If register, the register. Otherwise not used. | |
| LiteralOrExpression | immTerm |
| If immediate value, the literal or expression. Otherwise not used. | |
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(), AssemblerParser::definition< ScannerT >::definition(), and toString().
| bool ParserSource::isRegister |
Is source register or immediate reference.
Definition at line 282 of file ParserStructs.hh.
Referenced by CodeSectionCreator::addMove(), AssemblerParser::definition< ScannerT >::definition(), and toString().
| RegisterTerm ParserSource::regTerm |
If register, the register. Otherwise not used.
Definition at line 284 of file ParserStructs.hh.
Referenced by CodeSectionCreator::addMove(), AssemblerParser::definition< ScannerT >::definition(), and toString().