Grammar-Kit
Grammar-Kit copied to clipboard
Token accessors return `PsiElement`, instead of the customized `LeafPsiElement` derivation
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.
Note: Been working around this one forever. I guess I'm just in a good issue-filing mood this week :]