public static class Transpiler.CompilerSupplier extends Object
Modifier and Type | Field and Description |
---|---|
protected static SourceFile |
EMPTY |
protected static DiagnosticGroup |
ES5_WARNINGS |
protected static SourceFile |
EXTERNS |
Constructor and Description |
---|
CompilerSupplier() |
Modifier and Type | Method and Description |
---|---|
Transpiler.CompileResult |
compile(Path path,
String code) |
protected Compiler |
compiler() |
protected CompilerOptions |
options() |
String |
runtime(String library) |
protected void |
setOptions(CompilerOptions options) |
protected static final SourceFile EXTERNS
protected static final SourceFile EMPTY
protected static final DiagnosticGroup ES5_WARNINGS
public Transpiler.CompileResult compile(Path path, String code)
protected Compiler compiler()
protected CompilerOptions options()
protected void setOptions(CompilerOptions options)
Copyright © 2009-2017 Google. All Rights Reserved.