cl-token: Rename Type to TokenKind, Data to TokenData to match the project's general style

This commit is contained in:
2024-04-12 14:36:26 -05:00
parent 902494e95a
commit 2091cce570
8 changed files with 440 additions and 430 deletions

View File

@@ -21,10 +21,10 @@ pub enum ErrorKind {
UnmatchedParentheses,
UnmatchedCurlyBraces,
UnmatchedSquareBrackets,
Unexpected(Type),
Unexpected(TokenKind),
Expected {
want: Type,
got: Type,
want: TokenKind,
got: TokenKind,
},
/// No rules matched
Nothing,