@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.
|
transform
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
andThen, asFunction, compose, identity, of
public 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 CompilerBasedTransformer
public java.lang.String getTranformationName()
getTranformationName
in class CompilerBasedTransformer
public static Transpiler toEs5()
Copyright © 2009-2020 Google. All Rights Reserved.