refactoring of BlockParser#select_leaf_type() to reduce unnecessary generation of objects
refactoring of BlockParser#select_leaf_type() to reduce unnecessary generation of objects

nico-hn/PseudoHikiParser