| 
    OpenASIP 2.2
    
   | 
 
#include <ParserStructs.hh>

Public Types | |
| enum | MoveType { EMPTY , LONG_IMMEDIATE , TRANSPORT } | 
| Types of instruction slots.  More... | |
Public Member Functions | |
| ParserMove () | |
| ParserMove (MoveType aType, bool begin) | |
| std::string | toString () const | 
Public Attributes | |
| MoveType | type | 
| Type of move.   | |
| bool | isBegin | 
| Tells whether the slot is the first of the instruction.   | |
| ParserGuard | guard | 
| Guard field.   | |
| ParserSource | source | 
| Source field.   | |
| RegisterTerm | destination | 
| Destination field.   | |
| UValue | asmLineNumber | 
| Line number of source code for errors.   | |
| std::vector< Annotation > | annotationes | 
All info of one parsed instruction slot.
Instruction slot defines a move or long immediate. An instruction slot can also be empty (unused).
Definition at line 391 of file ParserStructs.hh.
| enum ParserMove::MoveType | 
Types of instruction slots.
| Enumerator | |
|---|---|
| EMPTY | Empty move slot.  | 
| LONG_IMMEDIATE | Encoding of one long immediate slot.  | 
| TRANSPORT | Data transport (move).  | 
Definition at line 394 of file ParserStructs.hh.
      
  | 
  inline | 
Empty constructor.
All values are set by hand.
Definition at line 422 of file ParserStructs.hh.
      
  | 
  inline | 
Constructor.
| aType | Type of created move. | 
| begin | Is first move of an instruction. | 
Definition at line 431 of file ParserStructs.hh.
      
  | 
  inline | 
String representation of term for error message generation.
Definition at line 438 of file ParserStructs.hh.
References annotationes, destination, EMPTY, guard, LONG_IMMEDIATE, source, RegisterTerm::toString(), ParserSource::toString(), ParserGuard::toString(), TRANSPORT, and type.

| std::vector<Annotation> ParserMove::annotationes | 
Definition at line 415 of file ParserStructs.hh.
Referenced by CodeSectionCreator::addMove(), AssemblerParser::definition< ScannerT >::definition(), and toString().
| UValue ParserMove::asmLineNumber | 
Line number of source code for errors.
Definition at line 413 of file ParserStructs.hh.
Referenced by CodeSectionCreator::addMove(), and AssemblerParser::definition< ScannerT >::definition().
| RegisterTerm ParserMove::destination | 
Destination field.
Definition at line 411 of file ParserStructs.hh.
Referenced by CodeSectionCreator::addMove(), AssemblerParser::definition< ScannerT >::definition(), and toString().
| ParserGuard ParserMove::guard | 
Guard field.
Definition at line 407 of file ParserStructs.hh.
Referenced by CodeSectionCreator::addMove(), AssemblerParser::definition< ScannerT >::definition(), and toString().
| bool ParserMove::isBegin | 
Tells whether the slot is the first of the instruction.
Definition at line 404 of file ParserStructs.hh.
Referenced by CodeSectionCreator::addMove(), and AssemblerParser::definition< ScannerT >::definition().
| ParserSource ParserMove::source | 
Source field.
Definition at line 409 of file ParserStructs.hh.
Referenced by CodeSectionCreator::addMove(), AssemblerParser::definition< ScannerT >::definition(), and toString().
| MoveType ParserMove::type | 
Type of move.
Definition at line 401 of file ParserStructs.hh.
Referenced by CodeSectionCreator::addMove(), AssemblerParser::definition< ScannerT >::definition(), and toString().