Go to the documentation of this file.
36 #ifndef TCEASM_ASSEMBLER_HH
37 #define TCEASM_ASSEMBLER_HH
63 const std::set<CompilerMessage>&
warnings()
const;
const CompilerMessage & error() const
const std::set< CompilerMessage > & warnings() const
TPEF::BinaryStream & stream_
File containing file to assemble.
Assembler(TPEF::BinaryStream &assemblerFile, TTAMachine::Machine &assemblerMachine)
AssemblyParserDiagnostic parserDiagnostic_
Parser messages.
std::shared_ptr< std::string > asmCode_
String containing code to compile.
TTAMachine::Machine * mach_
Machine for assembled TPEF.
std::string codeLine(UValue lineNumber) const
const TTAMachine::Machine & targetMachine() const
void addWarning(UValue lineNumber, std::string errorMessage)
CompilerMessage error_
Last thrown error message.