Uses of Class
com.google.javascript.jscomp.CodePrinter.Builder
Packages that use CodePrinter.Builder
-
Uses of CodePrinter.Builder in com.google.javascript.jscomp
Methods in com.google.javascript.jscomp that return CodePrinter.BuilderModifier and TypeMethodDescriptionCodePrinter.Builder.setCodeGeneratorFactory(CodePrinter.Builder.CodeGeneratorFactory factory) Set a custom code generator factory to enable custom code generation.CodePrinter.Builder.setCompilerOptions(CompilerOptions options) Sets the output options from compiler options.CodePrinter.Builder.setLicenseTracker(CodePrinter.LicenseTracker licenseTracker) Sets the license tracker to use when printing.CodePrinter.Builder.setLineBreak(boolean lineBreak) Sets whether line breaking should be done automatically.CodePrinter.Builder.setOutputTypes(boolean outputTypes) Sets whether to output closure-style type annotations.CodePrinter.Builder.setPrettyPrint(boolean prettyPrint) Sets whether pretty printing should be used.CodePrinter.Builder.setTagAsStrict(boolean tagAsStrict) Set whether the output should be tags as ECMASCRIPT 5 Strict.CodePrinter.Builder.setTagAsTypeSummary(boolean tagAsTypeSummary) Set whether the output should be tagged as an .i.js file.CodePrinter.Builder.setTypeRegistry(JSTypeRegistry registry)