Improvement suggestion: Allow users to specify a mapping between tokens and LeafPsiElement classes so that generated token accessors return the correct, customized LeafPsiElement types (and thus don't require casting every time they're used).
This would be a welcome relief of unnecessary boilerplate.
Improvement suggestion: Allow users to specify a mapping between tokens and
LeafPsiElement
classes so that generated token accessors return the correct, customizedLeafPsiElement
types (and thus don't require casting every time they're used).This would be a welcome relief of unnecessary boilerplate.