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