class CleanupPasses extends PassConfig
Modifier and Type | Class and Description |
---|---|
(package private) static class |
CleanupPasses.MemoizedScopeCleanupPass
A CleanupPass implementation that will remove stored scopes from the
MemoizedScopeCreator of the compiler instance for a the hot swapped script.
|
PassConfig.PassConfigDelegate, PassConfig.State
Modifier and Type | Field and Description |
---|---|
(package private) PassFactory |
fieldCleanupPassFactory |
(package private) PassFactory |
globalVarRefCleanupPassFactory |
(package private) PassFactory |
scopeCleanupPassFactory |
private PassConfig.State |
state |
options, topScope
Constructor and Description |
---|
CleanupPasses(CompilerOptions options) |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<PassFactory> |
getChecks()
Gets the checking passes to run.
|
protected PassConfig.State |
getIntermediateState()
Get intermediate state for a running pass config, so it can
be paused and started again later.
|
protected java.util.List<PassFactory> |
getOptimizations()
Gets the optimization passes to run.
|
addPassFactoryBefore, clearTypedScope, getBasePassConfig, getPassGraph, getTopScope, getTypedScopeCreator, makeInferJsDocInfo, makeTypeCheck, makeTypeInference, patchGlobalTypedScope, regenerateGlobalTypedScope, replacePassFactory
private PassConfig.State state
final PassFactory fieldCleanupPassFactory
final PassFactory scopeCleanupPassFactory
final PassFactory globalVarRefCleanupPassFactory
public CleanupPasses(CompilerOptions options)
protected java.util.List<PassFactory> getChecks()
PassConfig
getChecks
in class PassConfig
protected PassConfig.State getIntermediateState()
PassConfig
getIntermediateState
in class PassConfig
protected java.util.List<PassFactory> getOptimizations()
PassConfig
getOptimizations
in class PassConfig