sky-uk / bslint

A linter for the BrightScript language.
BSD 3-Clause "New" or "Revised" License
24 stars 8 forks source link

Match Handler Refactoring #52

Closed DanieleSassoli closed 8 years ago

DanieleSassoli commented 8 years ago

Moved Match Handler in a separate class from the lever. This allows the lever to be a static method which I then converted into a simple method, so we mustn't instantiate anything. Error Message Builder is a simple method too and doesn't need any initialisation.