BAD.Parser.GuessTypeName C# (CSharp) Method

GuessTypeName() static private method

static private GuessTypeName ( string token ) : string
token string
return string
        static string GuessTypeName(string token)
        {
            switch (token) {
            case "?":
                return "Condition";
            case "!":
                return "Action";

            default:
                return token;
            }
        }