Hello, I'm new to the swift compiler codebase, and I have been walking through the lexer code
lib/Lexer.cpp. I noticed that things such as numbers operators and identifiers get tokenized in the format:
... case ch: lexChar(ch); ...
However, I couldn't find where exactly keywords such as
func etc get tokenized within
Lexer.cpp in the format shown above. Does this happen a method further down the line? Or are the identifier tokens transformed from their initial capture? Any help is greatly appreciated.