public class AssignmentRule extends TransformRule
TypeAnalyzer
traverses an AST. Those
actions refactor the AST to add in support for backtracking.Constructor and Description |
---|
AssignmentRule() |
Modifier and Type | Method and Description |
---|---|
void |
afterTraverse(TypeAnalyzer analyzer,
org.eclipse.jdt.core.dom.CompilationUnit root)
Execute actions after the AST is traversed.
|
void |
beforeTraverse(TypeAnalyzer analyzer,
org.eclipse.jdt.core.dom.CompilationUnit root)
Add a handler (@link AssignmentTransformer) to the type analyzer.
|
public void afterTraverse(TypeAnalyzer analyzer, org.eclipse.jdt.core.dom.CompilationUnit root)
afterTraverse
in class TransformRule
analyzer
- The type analyzer.root
- The root of the AST.TransformRule.beforeTraverse(TypeAnalyzer, CompilationUnit)
public void beforeTraverse(TypeAnalyzer analyzer, org.eclipse.jdt.core.dom.CompilationUnit root)
beforeTraverse
in class TransformRule
analyzer
- The type analyzer.root
- The root of the AST.TransformRule.afterTraverse(TypeAnalyzer, CompilationUnit)