Abstract base class for translators. More...
#include <Translator.h>
Public Member Functions | |
virtual const string | translate (TranslationContext &context)=0 |
Translates token This method is called to translate a token. More... | |
Abstract base class for translators.
Definition at line 44 of file Translator.h.
|
pure virtual |
Translates token This method is called to translate a token.
context | Context object containing symbol tables |
Implemented in Hypertable::ClusterDefinitionFile::TranslatorTask, Hypertable::ClusterDefinitionFile::TranslatorRole, Hypertable::ClusterDefinitionFile::TranslatorVariable, and Hypertable::ClusterDefinitionFile::TranslatorCode.