public class Engine
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private AstManager |
mgr
Provides core AST services.
|
| Constructor and Description |
|---|
Engine(AstManager mgr)
Construct an instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
process(java.util.List<java.lang.String> asts,
Pipeline pipeline)
Iterate through the list of tree names to be processed and for each one,
traverse the tree and invoke the hooks of each tree walker in the
pipeline.
|
private final AstManager mgr
public Engine(AstManager mgr)
mgr - Provides core AST services.public void process(java.util.List<java.lang.String> asts,
Pipeline pipeline)
asts - List of tree names. Each one will be loaded in turn and
optionally saved at the end (depending on the pipeline
configuration).pipeline - The tree walkers to be invoked and other configuration values.