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.setApplyInputSourceMaps(boolean applyInputSourceMaps)
Whether to apply input source maps to the output, i.e.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setBrowserFeaturesetYear(java.lang.Integer browserFeaturesetYear)
Indicates target browser's year
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setCharset(java.lang.String charset)
Input charset for all files.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setCodingConvention(CodingConvention codingConvention)
Sets rules and conventions to enforce.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setContinueSavedCompilationFileName(java.lang.String fileName)
Set the compiler to resume a saved compilation state from a file.
|
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(java.lang.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(java.util.List<java.lang.String> define)
Override the value of a variable annotated @define.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setDependencyOptions(DependencyOptions dependencyOptions)
Sets the dependency management options.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setErrorFormat(AbstractCommandLineRunner.CommandLineConfig.ErrorFormatOption errorFormat) |
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setExterns(java.util.List<java.lang.String> externs)
The file containing JavaScript externs.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setHideWarningsFor(java.util.List<java.lang.String> hideWarningsFor)
Sets the paths for which warnings will be hidden.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setJscompDevMode(CompilerOptions.DevMode jscompDevMode)
Turns on extra validity checks
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setJsonStreamMode(com.google.javascript.jscomp.CompilerOptions.JsonStreamMode mode) |
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setJsonWarningsFile(java.lang.String jsonWarningsFile) |
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setJsOutputFile(java.lang.String jsOutputFile)
Primary output filename.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setLoggingLevel(java.lang.String loggingLevel)
The logging level (standard java.util.logging.Level
values) for Compiler progress.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setManifestMaps(java.util.List<java.lang.String> manifestMaps)
Sets the execPath:rootRelativePath mappings
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setMixedJsSources(java.util.List<AbstractCommandLineRunner.FlagEntry<AbstractCommandLineRunner.JsSourceType>> mixedJsSources)
The JavaScript source file names, including .js and .zip files.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setModule(java.util.List<java.lang.String> module)
A JavaScript module specification.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setModuleOutputPathPrefix(java.lang.String moduleOutputPathPrefix)
Prefix for filenames of compiled JS modules.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setModuleRoots(java.util.List<java.lang.String> jsModuleRoots)
Sets the module roots.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setModuleWrapper(java.util.List<java.lang.String> moduleWrapper)
An output wrapper for a JavaScript module (optional).
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setOutputBundle(java.util.List<java.lang.String> outputBundles)
Sets whether to print output bundle files.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setOutputManifest(java.util.List<java.lang.String> outputManifests)
Sets whether to print output manifest files.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setOutputModuleDependencies(java.lang.String outputModuleDependencies)
Sets whether a JSON file representing the dependencies between modules
should be created.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setOutputWrapper(java.lang.String outputWrapper)
Interpolate output into this string at the place denoted
by the marker token %output%, or %output|jsstring%
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setParseInlineSourceMaps(boolean parseInlineSourceMaps) |
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(java.lang.String propertyMapInputFile)
File containing the serialized version of the property renaming
map produced by a previous compilation
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setPropertyMapOutputFile(java.lang.String propertyMapOutputFile)
File where the serialized version of the property renaming map
produced should be saved
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setSaveAfterChecksFileName(java.lang.String fileName)
Set the compiler to perform the first phase and save the intermediate result to a file.
|
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(java.util.Map<java.lang.String,java.lang.String> sourceMapInputFiles) |
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setSourceMapLocationMappings(java.util.List<SourceMap.LocationMapping> locationMappings)
The source map location mappings to use, if generated.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setStringMapOutputFile(java.lang.String stringMapOutputPath)
File where the serialized version of the string map produced by the ReplaceStrings pass
should be saved.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setSummaryDetailLevel(int summaryDetailLevel)
Controls how detailed the compilation summary is.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setTransformAMDToCJSModules(boolean transformAMDToCJSModules)
Set whether to transform AMD to CommonJS modules.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setTweak(java.util.List<java.lang.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(java.lang.String variableMapInputFile)
File containing the serialized version of the variable renaming
map produced by a previous compilation
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setVariableMapOutputFile(java.lang.String variableMapOutputFile)
File where the serialized version of the variable renaming map
produced should be saved
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setWarningGuards(java.util.List<AbstractCommandLineRunner.FlagEntry<CheckLevel>> warningGuards)
Add warning guards.
|
AbstractCommandLineRunner.CommandLineConfig |
AbstractCommandLineRunner.CommandLineConfig.setWarningsWhitelistFile(java.lang.String fileName)
Sets a whitelist file that suppresses warnings.
|
Copyright © 2009-2020 Google. All Rights Reserved.