Module:Superclass

local utils = require('Module:Utils')

local p = {}

function p._superclass(args) return p.data[args.class] end

p.superclass = utils.make_wrapper_function(p._superclass)

p.data = { Accoutrement = 'Instance'; Accessory = 'Accoutrement'; Hat = 'Accoutrement'; AdService = 'Instance'; AdvancedDragger = 'Instance'; AnalyticsService = 'Instance'; Animation = 'Instance'; AnimationController = 'Instance'; AnimationTrack = 'Instance'; Animator = 'Instance'; AssetService = 'Instance'; Attachment = 'Instance'; BadgeService = 'Instance'; BasePlayerGui = 'Instance'; CoreGui = 'BasePlayerGui'; PlayerGui = 'BasePlayerGui'; StarterGui = 'BasePlayerGui'; BinaryStringValue = 'Instance'; BindableEvent = 'Instance'; BindableFunction = 'Instance'; BodyMover = 'Instance'; BodyAngularVelocity = 'BodyMover'; BodyForce = 'BodyMover'; BodyGyro = 'BodyMover'; BodyPosition = 'BodyMover'; BodyThrust = 'BodyMover'; BodyVelocity = 'BodyMover'; RocketPropulsion = 'BodyMover'; BoolValue = 'Instance'; BrickColorValue = 'Instance'; Button = 'Instance'; CFrameValue = 'Instance'; CacheableContentProvider = 'Instance'; MeshContentProvider = 'CacheableContentProvider'; SolidModelContentProvider = 'CacheableContentProvider'; TextureContentProvider = 'CacheableContentProvider'; Camera = 'Instance'; ChangeHistoryService = 'Instance'; CharacterAppearance = 'Instance'; BodyColors = 'CharacterAppearance'; CharacterMesh = 'CharacterAppearance'; Clothing = 'CharacterAppearance'; Pants = 'Clothing'; Shirt = 'Clothing'; ShirtGraphic = 'CharacterAppearance'; Skin = 'CharacterAppearance'; Chat = 'Instance'; ChatFilter = 'Instance'; ClickDetector = 'Instance'; ClusterPacketCache = 'Instance'; CollectionService = 'Instance'; Color3Value = 'Instance'; Configuration = 'Instance'; Constraint = 'Instance'; BallSocketConstraint = 'Constraint'; HingeConstraint = 'Constraint'; MoveToConstraint = 'Constraint'; RodConstraint = 'Constraint'; RopeConstraint = 'Constraint'; SlidingBallConstraint = 'Constraint'; CylindricalConstraint = 'SlidingBallConstraint'; PrismaticConstraint = 'SlidingBallConstraint'; SpringConstraint = 'Constraint'; ContentFilter = 'Instance'; ContentProvider = 'Instance'; ContextActionService = 'Instance'; Controller = 'Instance'; HumanoidController = 'Controller'; SkateboardController = 'Controller'; VehicleController = 'Controller'; ControllerService = 'Instance'; CookiesService = 'Instance'; CustomEvent = 'Instance'; CustomEventReceiver = 'Instance'; DataModelMesh = 'Instance'; BevelMesh = 'DataModelMesh'; BlockMesh = 'BevelMesh'; CylinderMesh = 'BevelMesh'; FileMesh = 'DataModelMesh'; SpecialMesh = 'FileMesh'; DataStoreService = 'Instance'; Debris = 'Instance'; DebugSettings = 'Instance'; DebuggerBreakpoint = 'Instance'; DebuggerManager = 'Instance'; DebuggerWatch = 'Instance'; Dialog = 'Instance'; DialogChoice = 'Instance'; DoubleConstrainedValue = 'Instance'; Dragger = 'Instance'; Explosion = 'Instance'; FaceInstance = 'Instance'; Decal = 'FaceInstance'; Texture = 'Decal'; Feature = 'Instance'; Hole = 'Feature'; MotorFeature = 'Feature'; Fire = 'Instance'; FlagStandService = 'Instance'; FlyweightService = 'Instance'; CSGDictionaryService = 'FlyweightService'; NonReplicatedCSGDictionaryService = 'FlyweightService'; Folder = 'Instance'; ForceField = 'Instance'; FriendService = 'Instance'; FunctionalTest = 'Instance'; GamePassService = 'Instance'; GameSettings = 'Instance'; GamepadService = 'Instance'; Geometry = 'Instance'; GlobalDataStore = 'Instance'; OrderedDataStore = 'GlobalDataStore'; GoogleAnalyticsConfiguration = 'Instance'; GroupService = 'Instance'; GuiBase = 'Instance'; GuiBase2d = 'GuiBase'; GuiObject = 'GuiBase2d'; Frame = 'GuiObject'; GuiButton = 'GuiObject'; ImageButton = 'GuiButton'; TextButton = 'GuiButton'; GuiLabel = 'GuiObject'; ImageLabel = 'GuiLabel'; TextLabel = 'GuiLabel'; Scale9Frame = 'GuiObject'; ScrollingFrame = 'GuiObject'; TextBox = 'GuiObject'; LayerCollector = 'GuiBase2d'; BillboardGui = 'LayerCollector'; ScreenGui = 'LayerCollector'; GuiMain = 'ScreenGui'; SurfaceGui = 'LayerCollector'; GuiBase3d = 'GuiBase'; FloorWire = 'GuiBase3d'; PVAdornment = 'GuiBase3d'; HandleAdornment = 'PVAdornment'; BoxHandleAdornment = 'HandleAdornment'; ConeHandleAdornment = 'HandleAdornment'; CylinderHandleAdornment = 'HandleAdornment'; ImageHandleAdornment = 'HandleAdornment'; LineHandleAdornment = 'HandleAdornment'; SphereHandleAdornment = 'HandleAdornment'; ParabolaAdornment = 'PVAdornment'; SelectionBox = 'PVAdornment'; SelectionSphere = 'PVAdornment'; PartAdornment = 'GuiBase3d'; HandlesBase = 'PartAdornment'; ArcHandles = 'HandlesBase'; Handles = 'HandlesBase'; SurfaceSelection = 'PartAdornment'; SelectionLasso = 'GuiBase3d'; SelectionPartLasso = 'SelectionLasso'; SelectionPointLasso = 'SelectionLasso'; TextureTrail = 'GuiBase3d'; GuiItem = 'Instance'; Backpack = 'GuiItem'; BackpackItem = 'GuiItem'; HopperBin = 'BackpackItem'; Tool = 'BackpackItem'; Flag = 'Tool'; ButtonBindingWidget = 'GuiItem'; GuiRoot = 'GuiItem'; Hopper = 'GuiItem'; StarterPack = 'GuiItem'; GuiService = 'Instance'; GuidRegistryService = 'Instance'; HapticService = 'Instance'; HttpRbxApiService = 'Instance'; HttpService = 'Instance'; Humanoid = 'Instance'; InputObject = 'Instance'; InsertService = 'Instance'; InstancePacketCache = 'Instance'; IntConstrainedValue = 'Instance'; IntValue = 'Instance'; JointInstance = 'Instance'; DynamicRotate = 'JointInstance'; RotateP = 'DynamicRotate'; RotateV = 'DynamicRotate'; Glue = 'JointInstance'; ManualSurfaceJointInstance = 'JointInstance'; ManualGlue = 'ManualSurfaceJointInstance'; ManualWeld = 'ManualSurfaceJointInstance'; Motor = 'JointInstance'; Motor6D = 'Motor'; Rotate = 'JointInstance'; Snap = 'JointInstance'; VelocityMotor = 'JointInstance'; Weld = 'JointInstance'; JointsService = 'Instance'; Keyframe = 'Instance'; KeyframeSequence = 'Instance'; KeyframeSequenceProvider = 'Instance'; Light = 'Instance'; PointLight = 'Light'; SpotLight = 'Light'; SurfaceLight = 'Light'; Lighting = 'Instance'; LobbyService = 'Instance'; LocalWorkspace = 'Instance'; LocalizationService = 'Instance'; LogService = 'Instance'; LoginService = 'Instance'; LuaSettings = 'Instance'; LuaSourceContainer = 'Instance'; BaseScript = 'LuaSourceContainer'; CoreScript = 'BaseScript'; Script = 'BaseScript'; LocalScript = 'Script'; ModuleScript = 'LuaSourceContainer'; LuaWebService = 'Instance'; MarketplaceService = 'Instance'; Message = 'Instance'; Hint = 'Message'; Mouse = 'Instance'; PlayerMouse = 'Mouse'; PluginMouse = 'Mouse'; NetworkMarker = 'Instance'; NetworkPeer = 'Instance'; NetworkClient = 'NetworkPeer'; NetworkServer = 'NetworkPeer'; NetworkReplicator = 'Instance'; ClientReplicator = 'NetworkReplicator'; ServerReplicator = 'NetworkReplicator'; NetworkSettings = 'Instance'; NotificationService = 'Instance'; NumberValue = 'Instance'; ObjectValue = 'Instance'; OneQuarterClusterPacketCacheBase = 'Instance'; PVInstance = 'Instance'; BasePart = 'PVInstance'; CornerWedgePart = 'BasePart'; FormFactorPart = 'BasePart'; Part = 'FormFactorPart'; FlagStand = 'Part'; Platform = 'Part'; Seat = 'Part'; SkateboardPlatform = 'Part'; SpawnLocation = 'Part'; WedgePart = 'FormFactorPart'; MeshPart = 'BasePart'; ParallelRampPart = 'BasePart'; PartOperation = 'BasePart'; NegateOperation = 'PartOperation'; UnionOperation = 'PartOperation'; PrismPart = 'BasePart'; PyramidPart = 'BasePart'; RightAngleRampPart = 'BasePart'; Terrain = 'BasePart'; TrussPart = 'BasePart'; VehicleSeat = 'BasePart'; Model = 'PVInstance'; RootInstance = 'Model'; Workspace = 'RootInstance'; Status = 'Model'; Pages = 'Instance'; DataStorePages = 'Pages'; FriendPages = 'Pages'; StandardPages = 'Pages'; PartOperationAsset = 'Instance'; ParticleEmitter = 'Instance'; Path = 'Instance'; PathfindingService = 'Instance'; PersonalServerService = 'Instance'; PhysicsPacketCache = 'Instance'; PhysicsService = 'Instance'; PhysicsSettings = 'Instance'; Player = 'Instance'; PlayerScripts = 'Instance'; Players = 'Instance'; Plugin = 'Instance'; PluginManager = 'Instance'; PointsService = 'Instance'; Pose = 'Instance'; PostEffect = 'Instance'; BloomEffect = 'PostEffect'; BlurEffect = 'PostEffect'; ColorCorrectionEffect = 'PostEffect'; SunRaysEffect = 'PostEffect'; RayValue = 'Instance'; ReflectionMetadata = 'Instance'; ReflectionMetadataCallbacks = 'Instance'; ReflectionMetadataClasses = 'Instance'; ReflectionMetadataEnums = 'Instance'; ReflectionMetadataEvents = 'Instance'; ReflectionMetadataFunctions = 'Instance'; ReflectionMetadataItem = 'Instance'; ReflectionMetadataClass = 'ReflectionMetadataItem'; ReflectionMetadataEnum = 'ReflectionMetadataItem'; ReflectionMetadataEnumItem = 'ReflectionMetadataItem'; ReflectionMetadataMember = 'ReflectionMetadataItem'; ReflectionMetadataProperties = 'Instance'; ReflectionMetadataYieldFunctions = 'Instance'; RemoteEvent = 'Instance'; RemoteFunction = 'Instance'; RenderHooksService = 'Instance'; RenderSettings = 'Instance'; ReplicatedFirst = 'Instance'; ReplicatedStorage = 'Instance'; RobloxReplicatedStorage = 'Instance'; RunService = 'Instance'; RuntimeScriptService = 'Instance'; ScriptContext = 'Instance'; ScriptDebugger = 'Instance'; ScriptService = 'Instance'; Selection = 'Instance'; ServerScriptService = 'Instance'; ServerStorage = 'Instance'; ServiceProvider = 'Instance'; DataModel = 'ServiceProvider'; GenericSettings = 'ServiceProvider'; AnalysticsSettings = 'GenericSettings'; GlobalSettings = 'GenericSettings'; UserSettings = 'GenericSettings'; Sky = 'Instance'; Smoke = 'Instance'; SocialService = 'Instance'; Sound = 'Instance'; SoundEffect = 'Instance'; ChorusSoundEffect = 'SoundEffect'; CompressorSoundEffect = 'SoundEffect'; DistortionSoundEffect = 'SoundEffect'; EchoSoundEffect = 'SoundEffect'; EqualizerSoundEffect = 'SoundEffect'; FlangeSoundEffect = 'SoundEffect'; PitchShiftSoundEffect = 'SoundEffect'; ReverbSoundEffect = 'SoundEffect'; TremoloSoundEffect = 'SoundEffect'; SoundGroup = 'Instance'; SoundService = 'Instance'; Sparkles = 'Instance'; SpawnerService = 'Instance'; StarterGear = 'Instance'; StarterPlayer = 'Instance'; StarterPlayerScripts = 'Instance'; StarterCharacterScripts = 'StarterPlayerScripts'; Stats = 'Instance'; StatsItem = 'Instance'; RunningAverageItemDouble = 'StatsItem'; RunningAverageItemInt = 'StatsItem'; RunningAverageTimeIntervalItem = 'StatsItem'; TotalCountTimeIntervalItem = 'StatsItem'; StringValue = 'Instance'; TaskScheduler = 'Instance'; Team = 'Instance'; Teams = 'Instance'; TeleportService = 'Instance'; TerrainRegion = 'Instance'; TestService = 'Instance'; TextService = 'Instance'; ThirdPartyUserService = 'Instance'; TimerService = 'Instance'; Toolbar = 'Instance'; TouchInputService = 'Instance'; TouchTransmitter = 'Instance'; TweenService = 'Instance'; UIBase = 'Instance'; UIComponent = 'UIBase'; UIConstraint = 'UIComponent'; UIAspectRatioConstraint = 'UIConstraint'; UISizeConstraint = 'UIConstraint'; UITextSizeConstraint = 'UIConstraint'; UILayout = 'UIComponent'; UIGridStyleLayout = 'UILayout'; UIGridLayout = 'UIGridStyleLayout'; UIListLayout = 'UIGridStyleLayout'; UserGameSettings = 'Instance'; UserInputService = 'Instance'; VRService = 'Instance'; Vector3Value = 'Instance'; VirtualUser = 'Instance'; Visit = 'Instance'; }

return p