Closed nathan closed 7 years ago
It's somewhat confusing that token types are called names until they are emitted, so we should probably refer to them everywhere as types.
name
type
Tim has a bunch of cool PRs in the works right now that touch that code, though, so let's wait until those are merged.
We should do this right after #25.
FWIW, the reason I didn't do this is it seemed nicer to call a rule/group by its "name" than by its "type".
That is a good point. I suppose you could call it tokenType?
tokenType
It's somewhat confusing that token types are called
name
s until they are emitted, so we should probably refer to them everywhere astype
s.Tim has a bunch of cool PRs in the works right now that touch that code, though, so let's wait until those are merged.