Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
Modifier and Type | Method and Description |
---|---|
protected AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.getCommandLineConfig()
Get the command line config, so that it can be initialized.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setAngularPass(boolean angularPass)
Sets whether to process AngularJS-specific annotations.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setCharset(String charset)
Input charset for all files.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setCodingConvention(CodingConvention codingConvention)
Sets rules and conventions to enforce.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setCreateNameMapFiles(boolean createNameMapFiles)
If true, variable renaming and property renaming map
files will be produced as {binary name}_vars_map.out and
{binary name}_props_map.out.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setCreateSourceMap(String createSourceMap)
If specified, a source map file mapping the generated
source files back to the original source file will be
output to the specified path.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setDefine(List<String> define)
Override the value of a variable annotated @define.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setDependencyMode(com.google.javascript.jscomp.CompilerOptions.DependencyMode newVal)
Sets whether to sort files by their goog.provide/require deps,
and prune inputs that are not required.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setEntryPoints(List<ModuleIdentifier> entryPoints)
Set module entry points, which makes the compiler only include
those files and sort them in dependency order.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setExterns(List<String> externs)
The file containing JavaScript externs.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setHideWarningsFor(List<String> hideWarningsFor)
Sets the paths for which warnings will be hidden.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setInstrumentationTemplateFile(String fileName) |
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setJs(List<String> js)
The JavaScript filename.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setJscompDevMode(com.google.javascript.jscomp.CompilerOptions.DevMode jscompDevMode)
Turns on extra sanity checks
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setJsonStreamMode(com.google.javascript.jscomp.CompilerOptions.JsonStreamMode mode) |
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setJsOutputFile(String jsOutputFile)
Primary output filename.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setJsZip(List<String> zip)
The JavaScript zip filename.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setLoggingLevel(String loggingLevel)
The logging level (standard java.util.logging.Level
values) for Compiler progress.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setManifestMaps(List<String> manifestMaps)
Sets the execPath:rootRelativePath mappings
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setMixedJsSources(List<AbstractCommandLineRunner.FlagEntry<AbstractCommandLineRunner.JsSourceType>> mixedJsSources)
The JavaScript source file names, including .js and .zip files.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setModule(List<String> module)
A JavaScript module specification.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setModuleOutputPathPrefix(String moduleOutputPathPrefix)
Prefix for filenames of compiled JS modules.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setModuleRoots(List<String> jsModuleRoots)
Sets the module roots.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setModuleWrapper(List<String> moduleWrapper)
An output wrapper for a JavaScript module (optional).
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setNewTypeInference(boolean useNewTypeInference) |
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setOutputBundle(List<String> outputBundles)
Sets whether to print output bundle files.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setOutputManifest(List<String> outputManifests)
Sets whether to print output manifest files.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setOutputModuleDependencies(String outputModuleDependencies)
Sets whether a JSON file representing the dependencies between modules
should be created.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setOutputWrapper(String outputWrapper)
Interpolate output into this string at the place denoted
by the marker token %output%, or %output|jsstring%
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setPrintAst(boolean printAst)
Prints a dot file describing the internal abstract syntax tree
and exits
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setPrintPassGraph(boolean printPassGraph)
Prints a dot file describing the passes that will get run and exits
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setProcessCommonJSModules(boolean processCommonJSModules)
Sets whether to process CommonJS modules.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setPropertyMapInputFile(String propertyMapInputFile)
File containing the serialized version of the property renaming
map produced by a previous compilation
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setPropertyMapOutputFile(String propertyMapOutputFile)
File where the serialized version of the property renaming map
produced should be saved
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setSkipNormalOutputs(boolean skipNormalOutputs)
Sets whether the normal outputs of compilation should be skipped.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setSourceMapDetailLevel(SourceMap.DetailLevel level)
The detail supplied in the source map file, if generated.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setSourceMapFormat(SourceMap.Format format)
The source map format to use, if generated.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setSourceMapInputFiles(Map<String,String> sourceMapInputFiles) |
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setSourceMapLocationMappings(List<SourceMap.LocationMapping> locationMappings)
The source map location mappings to use, if generated.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setSummaryDetailLevel(int summaryDetailLevel)
Controls how detailed the compilation summary is.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setTracerMode(CompilerOptions.TracerMode tracerMode) |
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setTransformAMDToCJSModules(boolean transformAMDToCJSModules)
Set whether to transform AMD to CommonJS modules.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setTweak(List<String> tweak)
Override the default value of a registered tweak.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setTweakProcessing(CompilerOptions.TweakProcessing tweakProcessing)
Sets the kind of processing to do for goog.tweak functions.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setVariableMapInputFile(String variableMapInputFile)
File containing the serialized version of the variable renaming
map produced by a previous compilation
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setVariableMapOutputFile(String variableMapOutputFile)
File where the serialized version of the variable renaming map
produced should be saved
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setWarningGuards(List<AbstractCommandLineRunner.FlagEntry<CheckLevel>> warningGuards)
Add warning guards.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setWarningsWhitelistFile(String fileName)
Sets a whitelist file that suppresses warnings.
|
Copyright © 2009-2016 Google. All Rights Reserved.