public class ClosureConfig extends Object
| Constructor and Description |
|---|
ClosureConfig(com.google.javascript.jscomp.CompilerOptions.LanguageMode language,
com.google.javascript.jscomp.CompilationLevel compilationLevel,
List<com.google.javascript.jscomp.SourceFile> externs,
boolean createSourceMap,
boolean angularPass)
Init Closure Compiler values.
|
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getAngularPass()
Gets the angularPass.
|
com.google.javascript.jscomp.CompilationLevel |
getCompilationLevel()
Gets the compilationLevel.
|
List<com.google.javascript.jscomp.SourceFile> |
getExterns()
Gets the externs.
|
com.google.javascript.jscomp.CompilerOptions.LanguageMode |
getLanguage()
Gets the language.
|
com.google.javascript.jscomp.SourceMap.Format |
getSourceMapFormat()
Gets the sourceMapFormat.
|
public ClosureConfig(com.google.javascript.jscomp.CompilerOptions.LanguageMode language,
com.google.javascript.jscomp.CompilationLevel compilationLevel,
List<com.google.javascript.jscomp.SourceFile> externs,
boolean createSourceMap,
boolean angularPass)
language - the version of ECMAScript used to report errors in the codecompilationLevel - the degree of compression and optimization to apply to JavaScriptexterns - preserve symbols that are defined outside of the code you are compilingcreateSourceMap - create a source map for the minifed/combined production filesangularPass - use @ngInject annotation to generate Angular injectionspublic com.google.javascript.jscomp.CompilerOptions.LanguageMode getLanguage()
public com.google.javascript.jscomp.CompilationLevel getCompilationLevel()
public List<com.google.javascript.jscomp.SourceFile> getExterns()
public com.google.javascript.jscomp.SourceMap.Format getSourceMapFormat()
public Boolean getAngularPass()
Copyright © 2009–2014 samaxes. All rights reserved.