Package me.topchetoeu.j2s.lib
Class Compilers
java.lang.Object
me.topchetoeu.j2s.lib.Compilers
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic me.topchetoeu.j2s.runtime.Compiler
babelCompiler
(me.topchetoeu.j2s.runtime.Compiler prev, me.topchetoeu.j2s.common.Environment target) static me.topchetoeu.j2s.runtime.Compiler
chainTranspilers
(me.topchetoeu.j2s.runtime.Compiler base, me.topchetoeu.j2s.common.Environment target, Compilers.TranspilerFactory... factories) static me.topchetoeu.j2s.runtime.Compiler
coffeescriptCompiler
(me.topchetoeu.j2s.runtime.Compiler prev, me.topchetoeu.j2s.common.Environment target) static me.topchetoeu.j2s.runtime.Compiler
static me.topchetoeu.j2s.runtime.Compiler
transpilerFromSource
(me.topchetoeu.j2s.runtime.Compiler prev, me.topchetoeu.j2s.common.Environment target, me.topchetoeu.j2s.common.Filename compilerName, String compilerSrc) static me.topchetoeu.j2s.runtime.Compiler
typescriptCompiler
(me.topchetoeu.j2s.runtime.Compiler prev, me.topchetoeu.j2s.common.Environment target) static me.topchetoeu.j2s.runtime.Compiler
wrap
(me.topchetoeu.j2s.runtime.Compiler first, me.topchetoeu.j2s.common.Environment compilerEnv, me.topchetoeu.j2s.common.Environment targetEnv, me.topchetoeu.j2s.runtime.values.functions.FunctionValue factory)
-
Constructor Details
-
Compilers
public Compilers()
-
-
Method Details
-
jsCompiler
public static me.topchetoeu.j2s.runtime.Compiler jsCompiler() -
wrap
public static me.topchetoeu.j2s.runtime.Compiler wrap(me.topchetoeu.j2s.runtime.Compiler first, me.topchetoeu.j2s.common.Environment compilerEnv, me.topchetoeu.j2s.common.Environment targetEnv, me.topchetoeu.j2s.runtime.values.functions.FunctionValue factory) -
transpilerFromSource
public static me.topchetoeu.j2s.runtime.Compiler transpilerFromSource(me.topchetoeu.j2s.runtime.Compiler prev, me.topchetoeu.j2s.common.Environment target, me.topchetoeu.j2s.common.Filename compilerName, String compilerSrc) -
babelCompiler
public static me.topchetoeu.j2s.runtime.Compiler babelCompiler(me.topchetoeu.j2s.runtime.Compiler prev, me.topchetoeu.j2s.common.Environment target) -
typescriptCompiler
public static me.topchetoeu.j2s.runtime.Compiler typescriptCompiler(me.topchetoeu.j2s.runtime.Compiler prev, me.topchetoeu.j2s.common.Environment target) -
coffeescriptCompiler
public static me.topchetoeu.j2s.runtime.Compiler coffeescriptCompiler(me.topchetoeu.j2s.runtime.Compiler prev, me.topchetoeu.j2s.common.Environment target) -
chainTranspilers
public static me.topchetoeu.j2s.runtime.Compiler chainTranspilers(me.topchetoeu.j2s.runtime.Compiler base, me.topchetoeu.j2s.common.Environment target, Compilers.TranspilerFactory... factories)
-