pub fn resolve_keyword(text: &str) -> Option<TokenKind>
Resolve a keyword from an identifier string. Returns the keyword TokenKind if the string is a keyword, or None if it’s a plain identifier.