public static TokenType KeywordFromString(this string str) { return Keywords.ContainsKey(str) ? Keywords[str] : TokenType.None; }