15 #ifndef Om_Language_Translator_
17 #define Om_Language_Translator_ \
18 Om::Language::Translator
22 #ifndef Om_Macro_Precompilation_
33 template <
typename ThisItem>
40 template <
typename ThisItem>
86 char const theCodeUnitIterator[]
An Element taker; takes at the back.
The Operator implementation.
An Operator lookup for use by an Evaluator.
virtual void GiveElements(Consumer &) const =0
virtual bool Translate(Evaluation &, Operator const &) const =0
Translates the Operator to an object that is then given to the Evaluation.
virtual bool IsEmpty() const =0
std::string Evaluate(char const theCodeUnitIterator[]) const
A convenience overload that evaluates input from the string and returns the output string.
void Evaluate(Om::Source::Source< CodePoint const > &, Om::Sink::Sink< CodePoint const > &) const
Evaluates input from the CodePoint Source and pushes it to the CodePoint Sink.
Any object that items can be pushed to.
Any object that items can be pulled from.