Package org.eolang.jeo
Class LoggedTranslator
java.lang.Object
org.eolang.jeo.LoggedTranslator
- All Implemented Interfaces:
Translator
Translation log.
- Since:
- 0.2
-
Constructor Summary
ConstructorsConstructorDescriptionLoggedTranslator(String process, String participle, Path input, Path output, Translator original) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionCollection<? extends Representation>apply(Collection<? extends Representation> representations) Apply the translation for all representations.
-
Constructor Details
-
LoggedTranslator
public LoggedTranslator(String process, String participle, Path input, Path output, Translator original) Constructor.- Parameters:
process- Process name.participle- Past participle of the process.input- From where.output- To where.original- Original translator.
-
-
Method Details
-
apply
public Collection<? extends Representation> apply(Collection<? extends Representation> representations) Description copied from interface:TranslatorApply the translation for all representations.- Specified by:
applyin interfaceTranslator- Parameters:
representations- IRs to translate.- Returns:
- Translated IRs.
-