Package org.eolang.jeo
Interface Translator
- All Known Implementing Classes:
BachedTranslator
,LoggedTranslator
public interface Translator
Translator that applies a translation to a batch of representations.
- Since:
- 0.1.0
-
Method Summary
Modifier and TypeMethodDescriptionStream<? extends Representation>
apply
(Stream<? extends Representation> representations) Apply the translation for all representations.
-
Method Details
-
apply
Apply the translation for all representations.- Parameters:
representations
- IRs to translate.- Returns:
- Translated IRs.
-