public class RuleChain
extends java.lang.Object
Constructor and Description |
---|
RuleChain() |
Modifier and Type | Method and Description |
---|---|
void |
add(RuleSet ruleSet)
Add all Rules from the given RuleSet which want to participate in the
RuleChain.
|
void |
apply(java.util.List<CompilationUnit> astCompilationUnits,
RuleContext ctx,
Language language)
Apply the RuleChain to the given ASTCompilationUnits using the given
RuleContext, for those rules using the given Language.
|
public void add(RuleSet ruleSet)
ruleSet
- The RuleSet to add Rules from.public void apply(java.util.List<CompilationUnit> astCompilationUnits, RuleContext ctx, Language language)
astCompilationUnits
- The ASTCompilationUnits.ctx
- The RuleContext.language
- The Language.