TokenType.Let is not the correct syntax.
You refer to the enum member values just with their names:
KEYWORDS = Dict(
"let" => Let
)
The style guide here is that the member values are lower case, let in this case. But let is a reserved key word, so you couldn’t use this in lowercase.
See Essentials · The Julia Language for some documentation.