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 TypeMethodDescriptionStream<? extends Representation>
apply
(Stream<? 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
Description copied from interface:Translator
Apply the translation for all representations.- Specified by:
apply
in interfaceTranslator
- Parameters:
representations
- IRs to translate.- Returns:
- Translated IRs.
-