Translates a code block. More...
#include <TranslatorCode.h>


Public Member Functions | |
| TranslatorCode (const string &fname, size_t lineno, const string &text) | |
| Constructor. More... | |
| const string | translate (TranslationContext &context) override |
| Translates a code block. More... | |
Private Attributes | |
| string | m_fname |
| Source file name containing code block. More... | |
| string | m_text |
| Text of code block. More... | |
Translates a code block.
Definition at line 43 of file TranslatorCode.h.
|
inline |
Constructor.
| fname | Filename of source file |
| lineno | Starting offset within source file of code block text |
| text | Text of code block |
Definition at line 49 of file TranslatorCode.h.
|
overridevirtual |
Translates a code block.
This method does no translation and passes the code block text straight through untranslated.
| context | Context object containing symbol tables |
Implements Hypertable::ClusterDefinitionFile::Translator.
Definition at line 42 of file TranslatorCode.cc.
|
private |
Source file name containing code block.
Definition at line 61 of file TranslatorCode.h.
|
private |
Text of code block.
Definition at line 63 of file TranslatorCode.h.
1.8.8