@Immutable
public static class CompilerBasedTransformer.CompilerSupplier
extends java.lang.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 |
---|---|
CompilerBasedTransformer.CompileResult |
compile(java.nio.file.Path path,
java.lang.String code) |
protected Compiler |
compiler() |
protected CompilerOptions |
options() |
java.lang.String |
runtime(java.lang.String library) |
protected void |
setOptions(CompilerOptions options) |
boolean |
transformed(Result result) |
protected static final SourceFile EXTERNS
protected static final SourceFile EMPTY
protected static final DiagnosticGroup ES5_WARNINGS
public CompilerBasedTransformer.CompileResult compile(java.nio.file.Path path, java.lang.String code)
public boolean transformed(Result result)
public java.lang.String runtime(java.lang.String library)
protected Compiler compiler()
protected CompilerOptions options()
protected void setOptions(CompilerOptions options)
Copyright © 2009-2020 Google. All Rights Reserved.