@GwtIncompatible @Immutable public class Transpiler extends CompilerBasedTransformer
CompilerBasedTransformer.CompileResult, CompilerBasedTransformer.CompilerSupplier| Modifier and Type | Field and Description |
|---|---|
static Transpiler |
ES5_TRANSPILER |
| Constructor and Description |
|---|
Transpiler(CompilerBasedTransformer.CompilerSupplier compilerSupplier,
java.lang.String runtimeLibraryName) |
| Modifier and Type | Method and Description |
|---|---|
static CompilerBasedTransformer.CompilerSupplier |
compilerSupplier() |
java.util.Optional<java.lang.String> |
getRuntime() |
java.lang.String |
getTranformationName() |
static Transpiler |
toEs5()
Recommended transpiler.
|
transformclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitandThen, asFunction, compose, identity, ofpublic static final Transpiler ES5_TRANSPILER
public Transpiler(CompilerBasedTransformer.CompilerSupplier compilerSupplier, java.lang.String runtimeLibraryName)
public static CompilerBasedTransformer.CompilerSupplier compilerSupplier()
public java.util.Optional<java.lang.String> getRuntime()
getRuntime in class CompilerBasedTransformerpublic java.lang.String getTranformationName()
getTranformationName in class CompilerBasedTransformerpublic static Transpiler toEs5()
Copyright © 2009-2020 Google. All Rights Reserved.