There should be an API class that all PreprocessingPasses have access to. Probably the easiest thing to do the following:
[ ] Create a PreprocessingPassAPI class that takes all variables that are currently passed into init
[ ] Create an instance of such a class at the beginning of ProcessAssertions
[ ] Remove all arguments from init() and instead have a single argument that is a pointer to the API
[ ] Change accesses to API variables to go through the API
[ ] Add methods to the API to avoid accesses to the variables in the API
We will have to move some variables out of the API but it seems like the easiest would be to get something working first.
There should be an API class that all PreprocessingPasses have access to. Probably the easiest thing to do the following:
[ ] Create a
PreprocessingPassAPI
class that takes all variables that are currently passed into init [ ] Create an instance of such a class at the beginning of ProcessAssertions [ ] Remove all arguments from init() and instead have a single argument that is a pointer to the API [ ] Change accesses to API variables to go through the API [ ] Add methods to the API to avoid accesses to the variables in the APIWe will have to move some variables out of the API but it seems like the easiest would be to get something working first.