|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.javascript.jscomp.CompilerOptions
public class CompilerOptions
Compiler options
Nested Class Summary | |
---|---|
static interface |
CompilerOptions.AliasTransformation
A Role Specific Interface for the JsCompiler to report aliases used to change the code during a compile. |
static interface |
CompilerOptions.AliasTransformationHandler
A Role Specific Interface for JsCompiler that represents a data holder object which is used to store goog.scope alias code changes to code made during a compile. |
static class |
CompilerOptions.TracerMode
|
static class |
CompilerOptions.TweakProcessing
|
Field Summary | |
---|---|
CheckLevel |
aggressiveVarCheck
|
String |
aliasableGlobals
If set to a non-empty string, then during an alias externals pass only externals with these names will be considered for aliasing. |
Set<String> |
aliasableStrings
If set to a non-empty set, those strings literals will be aliased to a single global instance per string, to avoid creating more objects than necessary. |
boolean |
aliasAllStrings
Aliases all string literals to global instances, to avoid creating more objects than necessary (if true, overrides any set of strings passed in to aliasableStrings) |
boolean |
aliasExternals
Adds variable aliases for externals to reduce code size |
boolean |
aliasKeywords
Aliases true, false, and null to variables with shorter names. |
String |
aliasStringsBlacklist
A blacklist in the form of a regular expression to block strings that contains certain words from being aliased. |
boolean |
allowLegacyJsMessages
Allows old deprecated js message style |
boolean |
ambiguateProperties
Rename unrelated properties to the same name to reduce code size. |
AnonymousFunctionNamingPolicy |
anonymousFunctionNaming
Give anonymous functions names for easier debugging |
String |
appNameStr
App identifier string for use by the instrumentation template's app_name_setter |
CheckLevel |
brokenClosureRequiresLevel
|
boolean |
checkCaja
Checks that the synctactic restrictions of Caja are met. |
boolean |
checkControlStructures
Checks for invalid control structures |
boolean |
checkDuplicateMessages
Makes sure no duplicate messages |
boolean |
checkEs5Strict
Checks that the synctactic restrictions of ES5 strict mode are met. |
CheckLevel |
checkFunctions
|
CheckLevel |
checkGlobalNamesLevel
|
CheckLevel |
checkGlobalThisLevel
|
CheckLevel |
checkMethods
|
String |
checkMissingGetCssNameBlacklist
Regex of string literals that may only appear in goog.getCssName arguments. |
CheckLevel |
checkMissingGetCssNameLevel
|
CheckLevel |
checkMissingReturn
|
CheckLevel |
checkProvides
|
CheckLevel |
checkRequires
Checks for missing goog.require() calls |
CheckLevel |
checkShadowVars
|
boolean |
checkSuspiciousCode
Checks for suspicious statements that have no effect |
boolean |
checkSymbols
Checks that all symbols are defined |
boolean |
checkTypedPropertyCalls
Checks for inexistant property calls |
boolean |
checkTypes
Checks types on expressions |
CheckLevel |
checkUnreachableCode
|
boolean |
closurePass
Processes goog.provide() and goog.require() calls |
boolean |
coalesceVariableNames
Merge two variables together as one. |
boolean |
collapseAnonymousFunctions
Collapses anonymous function declarations into named function declarations |
boolean |
collapseObjectLiterals
Split object literals into individual variables when possible. |
boolean |
collapseProperties
Flattens multi-level property names (e.g. |
boolean |
collapseVariableDeclarations
Collapses multiple variable declarations into one |
boolean |
computeFunctionSideEffects
Use @nosideeffects annotations, function bodies and name graph to determine if calls have side effects. |
boolean |
convertToDottedProperties
Converts quoted property accesses to dot syntax (a['b'] -> a.b) |
boolean |
crossModuleCodeMotion
Move code to a deeper module |
boolean |
crossModuleMethodMotion
Move methds to a deeper module |
CssRenamingMap |
cssRenamingMap
Map used in the renaming of CSS class names. |
com.google.common.collect.Multimap<CustomPassExecutionTime,CompilerPass> |
customPasses
Custom passes |
boolean |
deadAssignmentElimination
Remove assignments to values that can not be referenced |
String |
debugFunctionSideEffectsPath
Where to save debug report for compute function side effects. |
boolean |
decomposeExpressions
Enhanced function inlining |
boolean |
devirtualizePrototypeMethods
Devirtualize prototype method by rewriting them to be static calls that take the this pointer as their first argument |
boolean |
disambiguateProperties
Rename properties to disambiguate between unrelated fields based on type information. |
ErrorFormat |
errorFormat
|
boolean |
exportTestFunctions
Whether to export test functions. |
boolean |
extractPrototypeMemberDeclarations
Extracts common prototype member declarations |
boolean |
flowSensitiveInlineVariables
|
boolean |
foldConstants
Folds constants (e.g. |
boolean |
gatherCssNames
Gather CSS names (requires closurePass) |
boolean |
generateExports
|
boolean |
generatePseudoNames
Generate pseudo names for variables and properties for debugging purposes. |
boolean |
groupVariableDeclarations
Group multiple variable declarations into one |
boolean |
ideMode
Configures the compiler for use as an IDE backend. |
boolean |
ignoreCajaProperties
Add code to skip properties that Caja adds to Object.prototype |
boolean |
inferTypesInGlobalScope
Runs a flow sensitive type inference in the global scope |
boolean |
inlineAnonymousFunctionExpressions
Enhanced function inlining |
boolean |
inlineConstantVars
Inlines constants (symbols that are all CAPS) |
boolean |
inlineFunctions
Inlines short functions |
boolean |
inlineGetters
Inlines trivial getters |
boolean |
inlineLocalFunctions
Enhanced function inlining |
boolean |
inlineLocalVariables
Inlines variables |
boolean |
inlineVariables
Inlines variables |
String |
inputDelimiter
The string to use as the separator for printInputDelimiter |
byte[] |
inputPropertyMapSerialized
Serialized input property renaming map. |
byte[] |
inputVariableMapSerialized
Serialized input variable renaming map. |
String |
instrumentationTemplate
Instrumentation template to use |
boolean |
instrumentForCoverage
Instrument code for the purpose of collecting coverage data. |
boolean |
instrumentForCoverageOnly
Instrument code for the purpose of collecting coverage data - restrict to coverage pass only, and skip all other passes. |
String |
jsOutputFile
|
boolean |
labelRenaming
Controls label renaming. |
boolean |
lineBreak
Line break the output a bit more aggressively |
String |
locale
Compiling locale |
boolean |
markAsCompiled
Sets the special "COMPILED" value to true |
boolean |
markNoSideEffectCalls
Mark no side effect calls |
MessageBundle |
messageBundle
Returns localized replacement for MSG_* variables |
boolean |
moveFunctionDeclarations
Move top level function declarations to the top |
String |
nameReferenceGraphPath
Where to save the name reference graph |
String |
nameReferenceReportPath
Where to save a cross-reference report from the name reference graph |
boolean |
optimizeArgumentsArray
Provide formal names for elements of arguments array. |
boolean |
optimizeCalls
Remove unused parameters from call sites. |
boolean |
optimizeParameters
Remove unused and constant parameters. |
boolean |
optimizeReturns
Remove unused return values. |
boolean |
prettyPrint
Output in pretty indented format |
boolean |
printInputDelimiter
Prints a separator comment before each js script |
PropertyRenamingPolicy |
propertyRenaming
Controls which properties get renamed. |
boolean |
recordFunctionInformation
Record function information |
boolean |
removeDeadCode
Removes code that will never execute |
boolean |
removeEmptyFunctions
Removes functions that have no body |
boolean |
removeTryCatchFinally
Removes try...catch...finally blocks for easier debugging |
boolean |
removeUnusedLocalVars
Removes unused variables in local scope. |
boolean |
removeUnusedPrototypeProperties
Removes unused member prototypes |
boolean |
removeUnusedPrototypePropertiesInExterns
Tells AnalyzePrototypeProperties it can remove externed props. |
boolean |
removeUnusedVars
Removes unused variables |
String |
renamePrefix
Specifies a prefix for all globals |
CheckLevel |
reportMissingOverride
|
String |
reportPath
Where to save a report of global name usage |
CheckLevel |
reportUnknownTypes
|
boolean |
reserveRawExports
Reserve property names on the global this object. |
boolean |
rewriteFunctionExpressions
Reduces the size of common function expressions. |
boolean |
smartNameRemoval
Removes code associated with unused global names |
SourceMap.DetailLevel |
sourceMapDetailLevel
The detail level for the generated source map. |
SourceMap.Format |
sourceMapFormat
The source map file format |
List<SourceMap.LocationMapping> |
sourceMapLocationMappings
|
String |
sourceMapOutputPath
The output path for the source map. |
boolean |
specializeInitialModule
Specialize the initial module at the cost of later modules |
boolean |
strictMessageReplacement
Whether we should throw an exception in case if the message absent from a bundle. |
Set<String> |
stripNamePrefixes
Name prefixes that determine which variables and properties to strip |
Set<String> |
stripNameSuffixes
Name suffixes that determine which variables and properties to strip |
Set<String> |
stripTypePrefixes
Qualified type name prefixes that determine which types to strip |
Set<String> |
stripTypes
Names of types to strip |
String |
syntheticBlockEndMarker
|
String |
syntheticBlockStartMarker
|
boolean |
tightenTypes
Tightens types based on a global analysis. |
CompilerOptions.TracerMode |
tracer
|
String |
unaliasableGlobals
Additional globals that can not be aliased since they may be undefined or can cause errors. |
VariableRenamingPolicy |
variableRenaming
Controls which variables get renamed. |
Constructor Summary | |
---|---|
CompilerOptions()
Initializes compiler options. |
Method Summary | |
---|---|
void |
addWarningsGuard(WarningsGuard guard)
Add a guard to the set of warnings guards. |
Object |
clone()
|
void |
disableRuntimeTypeCheck()
|
void |
enableExternExports(boolean enable)
|
void |
enableRuntimeTypeCheck(String logFunction)
Enable runtime type checking, which adds JS type assertions for debugging. |
CompilerOptions.AliasTransformationHandler |
getAliasTransformationHandler()
|
CodingConvention |
getCodingConvention()
|
Map<String,Node> |
getDefineReplacements()
Returns the map of define replacements. |
boolean |
getInferTypes()
Gets the inferTypes flag. |
com.google.javascript.jscomp.CompilerOptions.LanguageMode |
getLanguageIn()
|
com.google.javascript.jscomp.CompilerOptions.LanguageMode |
getLanguageOut()
|
CompilerOptions.TweakProcessing |
getTweakProcessing()
|
Map<String,Node> |
getTweakReplacements()
Returns the map of tweak replacements. |
boolean |
isAssumeStrictThis()
|
boolean |
isExternExportsEnabled()
|
void |
lineLengthThreshold(int value)
|
void |
resetWarningsGuard()
Reset the warnings guard. |
void |
setAcceptConstKeyword(boolean value)
If true, accept `const' keyword. |
void |
setAggressiveVarCheck(CheckLevel level)
Checks for suspicious variable definitions and undefined variables |
void |
setAliasTransformationHandler(CompilerOptions.AliasTransformationHandler changes)
|
void |
setAssumeStrictThis(boolean enable)
If true, enables enables additional optimizations. |
void |
setBrokenClosureRequiresLevel(CheckLevel level)
Sets the check level for bad Closure require calls. |
void |
setChainCalls(boolean value)
If true, chain calls to functions that return this. |
void |
setCheckFunctions(CheckLevel level)
Checks function arity |
void |
setCheckGlobalNamesLevel(CheckLevel level)
Checks the integrity of references to qualified global names. |
void |
setCheckGlobalThisLevel(CheckLevel level)
Checks for certain uses of the this keyword that are considered
unsafe because they are likely to reference the global this
object unintentionally. |
void |
setCheckMethods(CheckLevel level)
Checks method arity |
void |
setCheckMissingGetCssNameLevel(CheckLevel level)
Checks that certain string literals only appear in strings used as goog.getCssName arguments. |
void |
setCheckMissingReturn(CheckLevel level)
Checks for missing return statements |
void |
setCheckProvides(CheckLevel level)
Checks for missing goog.provides() calls |
void |
setCheckRequires(CheckLevel level)
|
void |
setCheckShadowVars(CheckLevel level)
Checks that all variables with the @noshadow attribute are never shadowed. |
void |
setCheckUnreachableCode(CheckLevel level)
Checks for unreachable code |
void |
setCodingConvention(CodingConvention codingConvention)
|
void |
setCollapsePropertiesOnExternTypes(boolean collapse)
If true, flattens multi-level property names on extern types (e.g. |
void |
setColorizeErrorOutput(boolean colorizeErrorOutput)
|
void |
setDefineToBooleanLiteral(String defineName,
boolean value)
Sets the value of the @define variable in JS
to a boolean literal. |
void |
setDefineToDoubleLiteral(String defineName,
double value)
Sets the value of the @define variable in JS to a
number literal. |
void |
setDefineToNumberLiteral(String defineName,
int value)
Sets the value of the @define variable in JS to a
number literal. |
void |
setDefineToStringLiteral(String defineName,
String value)
Sets the value of the @define variable in JS to a
String literal. |
void |
setExtraAnnotationNames(Set<String> extraAnnotationNames)
|
void |
setGenerateExports(boolean generateExports)
|
void |
setIdGenerators(Set<String> idGenerators)
Sets the id generators to replace. |
void |
setInferTypes(boolean enable)
If true, enables type inference. |
void |
setLanguageIn(com.google.javascript.jscomp.CompilerOptions.LanguageMode languageIn)
Sets how goog.tweak calls are processed. |
void |
setLooseTypes(boolean looseTypes)
Whether to include "undefined" in the default types. |
void |
setManageClosureDependencies(boolean newVal)
Sort inputs by their goog.provide/goog.require calls, and prune inputs whose symbols are not required. |
void |
setManageClosureDependencies(List<String> entryPoints)
Sort inputs by their goog.provide/goog.require calls. |
void |
setNameAnonymousFunctionsOnly(boolean value)
If true, name anonymous functions only. |
void |
setOutputCharset(String charsetName)
Sets the output charset by name. |
void |
setProcessObjectPropertyString(boolean process)
If true, process goog.testing.ObjectPropertyString instances. |
void |
setPropertyAffinity(boolean useAffinity)
|
void |
setRemoveAbstractMethods(boolean remove)
|
void |
setRemoveClosureAsserts(boolean remove)
|
void |
setRenamingPolicy(VariableRenamingPolicy newVariablePolicy,
PropertyRenamingPolicy newPropertyPolicy)
Sets the variable and property renaming policies for the compiler, in a way that clears warnings about the renaming policy being uninitialized from flags. |
void |
setReplaceStringsConfiguration(String placeholderToken,
List<String> functionDescriptors)
Sets the functions whose debug strings to replace. |
void |
setReportMissingOverride(CheckLevel level)
Flags a warning if a property is missing the @override annotation, but it overrides a base class property. |
void |
setReportUnknownTypes(CheckLevel level)
Flags a warning for every node whose type could not be determined. |
void |
setRewriteNewDateGoogNow(boolean rewrite)
|
void |
setShadowVariables(boolean shadow)
Should shadow outer scope variable name during renaming. |
void |
setSummaryDetailLevel(int summaryDetailLevel)
Controls how detailed the compilation summary is. |
void |
setTweakProcessing(CompilerOptions.TweakProcessing tweakProcessing)
Sets how goog.tweak calls are processed. |
void |
setTweakToBooleanLiteral(String tweakId,
boolean value)
Sets the value of the tweak in JS to a boolean literal. |
void |
setTweakToDoubleLiteral(String tweakId,
double value)
Sets the value of the tweak in JS to a number literal. |
void |
setTweakToNumberLiteral(String tweakId,
int value)
Sets the value of the tweak in JS to a number literal. |
void |
setTweakToStringLiteral(String tweakId,
String value)
Sets the value of the tweak in JS to a String literal. |
void |
setWarningLevel(DiagnosticGroup type,
CheckLevel level)
Configure the given type of warning to the given level. |
boolean |
shouldColorizeErrorOutput()
|
void |
skipAllCompilerPasses()
Skip all possible passes, to make the compiler as fast as possible. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public boolean ideMode
CustomPassExecutionTime.BEFORE_OPTIMIZATIONS
public transient MessageBundle messageBundle
public boolean checkSymbols
public CheckLevel checkShadowVars
public CheckLevel aggressiveVarCheck
public CheckLevel checkFunctions
public CheckLevel checkMethods
public boolean checkDuplicateMessages
public boolean allowLegacyJsMessages
public boolean strictMessageReplacement
public boolean checkSuspiciousCode
public boolean checkControlStructures
public boolean checkTypes
public boolean tightenTypes
public boolean inferTypesInGlobalScope
public boolean checkTypedPropertyCalls
public CheckLevel reportMissingOverride
public CheckLevel reportUnknownTypes
public CheckLevel checkRequires
public CheckLevel checkProvides
public CheckLevel checkGlobalNamesLevel
public CheckLevel brokenClosureRequiresLevel
public CheckLevel checkGlobalThisLevel
public CheckLevel checkMissingGetCssNameLevel
public String checkMissingGetCssNameBlacklist
public boolean checkEs5Strict
public boolean checkCaja
public boolean foldConstants
public boolean deadAssignmentElimination
public boolean inlineConstantVars
public boolean inlineFunctions
public boolean decomposeExpressions
public boolean inlineAnonymousFunctionExpressions
public boolean inlineLocalFunctions
public boolean crossModuleCodeMotion
public boolean coalesceVariableNames
public boolean crossModuleMethodMotion
public boolean inlineGetters
public boolean inlineVariables
public boolean inlineLocalVariables
public boolean flowSensitiveInlineVariables
public boolean smartNameRemoval
public boolean removeDeadCode
public CheckLevel checkUnreachableCode
public CheckLevel checkMissingReturn
public boolean extractPrototypeMemberDeclarations
public boolean removeEmptyFunctions
public boolean removeUnusedPrototypeProperties
public boolean removeUnusedPrototypePropertiesInExterns
public boolean removeUnusedVars
public boolean removeUnusedLocalVars
public boolean aliasExternals
public String aliasableGlobals
public String unaliasableGlobals
public boolean collapseVariableDeclarations
public boolean groupVariableDeclarations
public boolean collapseAnonymousFunctions
public Set<String> aliasableStrings
public String aliasStringsBlacklist
public boolean aliasAllStrings
public boolean convertToDottedProperties
public boolean rewriteFunctionExpressions
public boolean optimizeParameters
public boolean optimizeReturns
public boolean optimizeCalls
public boolean optimizeArgumentsArray
public VariableRenamingPolicy variableRenaming
public PropertyRenamingPolicy propertyRenaming
public boolean labelRenaming
public boolean reserveRawExports
public boolean generatePseudoNames
public String renamePrefix
public boolean aliasKeywords
public boolean collapseProperties
public boolean collapseObjectLiterals
public boolean devirtualizePrototypeMethods
public boolean computeFunctionSideEffects
public String debugFunctionSideEffectsPath
public boolean disambiguateProperties
public boolean ambiguateProperties
public AnonymousFunctionNamingPolicy anonymousFunctionNaming
public byte[] inputVariableMapSerialized
public byte[] inputPropertyMapSerialized
public boolean exportTestFunctions
public boolean specializeInitialModule
public boolean instrumentForCoverage
public boolean instrumentForCoverageOnly
public boolean ignoreCajaProperties
public String syntheticBlockStartMarker
public String syntheticBlockEndMarker
public String locale
public boolean markAsCompiled
public boolean removeTryCatchFinally
public boolean closurePass
public boolean gatherCssNames
public Set<String> stripTypes
public Set<String> stripNameSuffixes
public Set<String> stripNamePrefixes
public Set<String> stripTypePrefixes
public transient com.google.common.collect.Multimap<CustomPassExecutionTime,CompilerPass> customPasses
public boolean markNoSideEffectCalls
public boolean moveFunctionDeclarations
public String instrumentationTemplate
public String appNameStr
public boolean recordFunctionInformation
public boolean generateExports
public CssRenamingMap cssRenamingMap
public boolean prettyPrint
public boolean lineBreak
public boolean printInputDelimiter
public String inputDelimiter
public String reportPath
public CompilerOptions.TracerMode tracer
public ErrorFormat errorFormat
public String jsOutputFile
public String nameReferenceReportPath
public String nameReferenceGraphPath
public String sourceMapOutputPath
public SourceMap.DetailLevel sourceMapDetailLevel
public SourceMap.Format sourceMapFormat
public List<SourceMap.LocationMapping> sourceMapLocationMappings
Constructor Detail |
---|
public CompilerOptions()
Method Detail |
---|
public void setCheckShadowVars(CheckLevel level)
public void setAggressiveVarCheck(CheckLevel level)
public void setCheckFunctions(CheckLevel level)
public void setCheckMethods(CheckLevel level)
public void setReportMissingOverride(CheckLevel level)
public void setReportUnknownTypes(CheckLevel level)
public void setCheckRequires(CheckLevel level)
public void setCheckProvides(CheckLevel level)
public void setCheckGlobalNamesLevel(CheckLevel level)
public void setBrokenClosureRequiresLevel(CheckLevel level)
public void setCheckGlobalThisLevel(CheckLevel level)
this
keyword that are considered
unsafe because they are likely to reference the global this
object unintentionally.
If this is off, but collapseProperties is on, then the compiler will
usually ignore you and run this check anyways.
public void setCheckMissingGetCssNameLevel(CheckLevel level)
public void setCheckUnreachableCode(CheckLevel level)
public void setCheckMissingReturn(CheckLevel level)
public Map<String,Node> getDefineReplacements()
public Map<String,Node> getTweakReplacements()
public void setDefineToBooleanLiteral(String defineName, boolean value)
@define
variable in JS
to a boolean literal.
public void setDefineToStringLiteral(String defineName, String value)
@define
variable in JS to a
String literal.
public void setDefineToNumberLiteral(String defineName, int value)
@define
variable in JS to a
number literal.
public void setDefineToDoubleLiteral(String defineName, double value)
@define
variable in JS to a
number literal.
public void setTweakToBooleanLiteral(String tweakId, boolean value)
public void setTweakToStringLiteral(String tweakId, String value)
public void setTweakToNumberLiteral(String tweakId, int value)
public void setTweakToDoubleLiteral(String tweakId, double value)
public void skipAllCompilerPasses()
public void setWarningLevel(DiagnosticGroup type, CheckLevel level)
public void resetWarningsGuard()
public void addWarningsGuard(WarningsGuard guard)
public void setRenamingPolicy(VariableRenamingPolicy newVariablePolicy, PropertyRenamingPolicy newPropertyPolicy)
public void setPropertyAffinity(boolean useAffinity)
public void setShadowVariables(boolean shadow)
public void setCollapsePropertiesOnExternTypes(boolean collapse)
public void setProcessObjectPropertyString(boolean process)
public void setIdGenerators(Set<String> idGenerators)
public void setReplaceStringsConfiguration(String placeholderToken, List<String> functionDescriptors)
public void setRewriteNewDateGoogNow(boolean rewrite)
public void setRemoveAbstractMethods(boolean remove)
public void setRemoveClosureAsserts(boolean remove)
public void setNameAnonymousFunctionsOnly(boolean value)
public void lineLengthThreshold(int value)
public void setColorizeErrorOutput(boolean colorizeErrorOutput)
public boolean shouldColorizeErrorOutput()
public void setChainCalls(boolean value)
public void setAcceptConstKeyword(boolean value)
public void enableRuntimeTypeCheck(String logFunction)
logFunction
- A JS function to be used for logging runtime type
assertion failures.public void disableRuntimeTypeCheck()
public void setGenerateExports(boolean generateExports)
public void setCodingConvention(CodingConvention codingConvention)
public CodingConvention getCodingConvention()
public void setManageClosureDependencies(boolean newVal)
public void setManageClosureDependencies(List<String> entryPoints)
entryPoints
- Entry points to the program. Must be goog.provide'd
symbols. Any goog.provide'd symbols that are not a transitive
dependency of the entry points will be deleted.
Files without goog.provides, and their dependencies,
will always be left in.public void setSummaryDetailLevel(int summaryDetailLevel)
public void enableExternExports(boolean enable)
public void setExtraAnnotationNames(Set<String> extraAnnotationNames)
public boolean isExternExportsEnabled()
public void setOutputCharset(String charsetName)
public void setTweakProcessing(CompilerOptions.TweakProcessing tweakProcessing)
public CompilerOptions.TweakProcessing getTweakProcessing()
public void setLanguageIn(com.google.javascript.jscomp.CompilerOptions.LanguageMode languageIn)
public com.google.javascript.jscomp.CompilerOptions.LanguageMode getLanguageIn()
public com.google.javascript.jscomp.CompilerOptions.LanguageMode getLanguageOut()
public void setLooseTypes(boolean looseTypes)
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public void setAliasTransformationHandler(CompilerOptions.AliasTransformationHandler changes)
public CompilerOptions.AliasTransformationHandler getAliasTransformationHandler()
public void setInferTypes(boolean enable)
public boolean getInferTypes()
public boolean isAssumeStrictThis()
public void setAssumeStrictThis(boolean enable)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |