public abstract class PassConfig extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PassConfig.State
Intermediate state for a running pass configuration.
|
Modifier and Type | Field and Description |
---|---|
protected CompilerOptions |
options |
Constructor and Description |
---|
PassConfig(CompilerOptions options) |
Modifier and Type | Method and Description |
---|---|
protected abstract List<PassFactory> |
getChecks()
Gets the checking passes to run.
|
protected abstract PassConfig.State |
getIntermediateState()
Get intermediate state for a running pass config, so it can
be paused and started again later.
|
protected abstract List<PassFactory> |
getOptimizations()
Gets the optimization passes to run.
|
protected List<PassFactory> |
getTranspileOnlyPasses()
Gets the transpilation passes
|
protected List<PassFactory> |
getWhitespaceOnlyPasses()
Gets additional checking passes that are run always, even in "whitespace only" mode.
|
protected final CompilerOptions options
public PassConfig(CompilerOptions options)
protected List<PassFactory> getWhitespaceOnlyPasses()
protected List<PassFactory> getTranspileOnlyPasses()
protected abstract List<PassFactory> getChecks()
protected abstract List<PassFactory> getOptimizations()
protected abstract PassConfig.State getIntermediateState()
Copyright © 2009-2016 Google. All Rights Reserved.