xiaomi7732 / StackBeauty

Format stack, make it easy to read and understand
https://stack.codewithsaar.net
MIT License
5 stars 1 forks source link

Refactor idea: Define stages, unify the interfaces #11

Open xiaomi7732 opened 2 years ago

xiaomi7732 commented 2 years ago

Shall we unify all PreFilter, Parser, Beautifiers and Filters into:

IFilter
{
    enum Stage { get; }    // PreFiltering, Parsing, Beautifying, Filtering...
    int Priority { get; }     // Priority within the stage;
}