Move AbstractScopeSequenceHolder to Parse and make it a template class to be reusable

This commit is contained in:
Jan
2022-01-18 22:55:25 +01:00
parent 0aad5a42cb
commit 91cfb2e8dd
15 changed files with 61 additions and 68 deletions
@@ -752,7 +752,7 @@ EventHandlerSetScopeSequences::EventHandlerSetScopeSequences(std::vector<std::un
{
}
void EventHandlerSetScopeSequences::AddSequences(FeatureLevel featureLevel, bool permissive)
void EventHandlerSetScopeSequences::AddSequences(const FeatureLevel featureLevel, const bool permissive) const
{
AddSequence(std::make_unique<SequenceSkipEmptyStatements>());
// If else and stuff