Feature Callback Methods
To implement a feature, you can choose to provide below methods.
| Method Name | Description |
|---|---|
| setUp(config) | Do the setup |
| finalize(config) | Do the finalization |
| accept(context) | If the feature accepts this kind of AST node |
| run(context) | Run the feature against the AST node |
| groupBy(context) | Get the string to group the AST nodes |
| runGroup(group) | Run the feature against the AST node group |