#include <cprogram.h>
Public Member Functions | |
| CProgram () | |
| Default ctor. | |
| ~CProgram () | |
| Default dtor. | |
| const std::map < std::string, unsigned > & | getLabels () const |
| get reference to labels map | |
| unsigned | findLabel (const std::string &label) const |
| search for label | |
| void | compile (std::istream &in) |
| create instructions from parsing stream | |
Default ctor.
| - |
| none |
Default dtor.
| - |
| none |
| const std::map<std::string, unsigned>& CProgram< T >::getLabels | ( | ) | const [inline] |
get reference to labels map
| - |
| none |
| unsigned CProgram< T >::findLabel | ( | const std::string & | label | ) | const [inline] |
search for label
| label | name of label to search for |
| CProgramError |
| void CProgram< T >::compile | ( | std::istream & | in | ) | [inline] |
create instructions from parsing stream
| in | inputstream to read from |
| CProgramError |
1.5.3