 import AST
 import Source
 import Parser
+
+extension EnumDeclaration.Member {
+    var rawValueStyleEnumCase: EnumDeclaration.RawValueStyleEnumCase? {
+        switch self {
+        case .rawValue(let rawValueStyleEnumCase):
+            return rawValueStyleEnumCase
+        default:
+            return nil
+        }
+    }
+}
 
 public class KotlinTokenizer: SwiftTokenizer {
 

        }
        return newTokens
    }
}

public typealias InvertedConditionList = [InvertedCondition]

        let lineBreak = declaration.newToken(.linebreak, "\n")
        let space = declaration.newToken(.space, " ")

        guard unionCases.count <= declaration.members.count && // unionCases is 0 when enums have specific values
            declaration.genericParameterClause == nil &&
            declaration.genericWhereClause == nil else {
                return self.unsupportedTokens(message: "Complex enums not supported yet", element: declaration, node: declaration).suffix(with: lineBreak) +
