Implement, test, and expose require("ast-types").getSupertypeNames.