Aseba  1.5.5
Public Types | Public Member Functions | Public Attributes | List of all members
Aseba::PreLinkBytecode Struct Reference

Bytecode use for compilation previous to linking. More...

#include <compiler.h>

Public Types

typedef std::map< unsigned, BytecodeVectorEventsBytecode
 Map of events id to event bytecode.
 
typedef std::map< unsigned, BytecodeVectorSubroutinesBytecode
 Map of routines id to routine bytecode.
 

Public Member Functions

 PreLinkBytecode ()
 Add init event and point to currentBytecode it.
 
void fixup (const Compiler::SubroutineTable &subroutineTable)
 Fixup prelinked bytecodes by making sure that each vector is closed correctly, i.e. More...
 

Public Attributes

EventsBytecode events
 bytecode for events
 
SubroutinesBytecode subroutines
 bytecode for routines
 
BytecodeVectorcurrent
 pointer to bytecode being constructed
 

Detailed Description

Bytecode use for compilation previous to linking.


The documentation for this struct was generated from the following files: