org.jetbrains.kotlin.js.facade
Class K2JSTranslator
java.lang.Object
org.jetbrains.kotlin.js.facade.K2JSTranslator
public final class K2JSTranslator
- extends java.lang.Object
An entry point of translator.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FLUSH_SYSTEM_OUT
public static final java.lang.String FLUSH_SYSTEM_OUT
- See Also:
- Constant Field Values
GET_SYSTEM_OUT
public static final java.lang.String GET_SYSTEM_OUT
- See Also:
- Constant Field Values
K2JSTranslator
public K2JSTranslator(@NotNull
Config config)
translate
@NotNull
public TranslationResult translate(@NotNull
java.util.List<KtFile> files,
@NotNull
MainCallParameters mainCallParameters)
throws TranslationException
- Throws:
TranslationException
translate
@NotNull
public TranslationResult translate(@NotNull
java.util.List<KtFile> files,
@NotNull
MainCallParameters mainCallParameters,
@Nullable
JsAnalysisResult analysisResult)
throws TranslationException
- Throws:
TranslationException