Open ktmills opened 5 years ago
Processing of a class declaration only allow spaces prior to the keyword 'class'. This doesn't allow for detection of virtual classes. Consider changing the following regex
^\s*(module|function|primitive|class|package|constraint...
To
^\s*(?:virtual\s+(?=class))? (module|function|primitive|class|package|constraint...
This will make sure you capture groups remain the same.
Processing of a class declaration only allow spaces prior to the keyword 'class'. This doesn't allow for detection of virtual classes. Consider changing the following regex
^\s*(module|function|primitive|class|package|constraint...
To
^\s*(?:virtual\s+(?=class))? (module|function|primitive|class|package|constraint...
This will make sure you capture groups remain the same.