Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
Modifier and Type | Method and Description |
---|---|
(package private) static CodePrinter.Format |
CodePrinter.Format.fromOptions(CompilerOptions options,
boolean outputTypes,
boolean prettyPrint) |
static CodePrinter.Format |
CodePrinter.Format.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CodePrinter.Format[] |
CodePrinter.Format.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
CodeGenerator |
CodePrinter.Builder.CodeGeneratorFactory.getCodeGenerator(CodePrinter.Format outputFormat,
CodeConsumer cc) |
private static java.lang.String |
CodePrinter.toSource(Node root,
CodePrinter.Format outputFormat,
CompilerOptions options,
SourceMap sourceMap,
boolean tagAsStrict,
boolean lineBreak,
CodePrinter.Builder.CodeGeneratorFactory codeGeneratorFactory)
Converts a tree to JS code
|