Bike.Parser.TokenTypeHelper.KeywordFromString C# (CSharp) Method

KeywordFromString() public static method

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