MysoreScript
Public Attributes | List of all members
MysoreScript::Class Struct Reference

Struct holding metadata about a class. More...

#include <runtime.hh>

Collaboration diagram for MysoreScript::Class:
Collaboration graph
[legend]

Public Attributes

struct Classsuperclass
 The superclass of this class, if it has one, or a null pointer if it is a root class. More...
 
const char * className
 The name of this class. More...
 
int32_t methodCount
 The number of methods that this class implements. More...
 
int32_t indexedIVarCount
 The number of indexed instance variables that this class has. More...
 
struct MethodmethodList
 An array of methodCount elements describing the methods that this class implements. More...
 
const char ** indexedIVarNames
 The names of the instance variables. More...
 

Detailed Description

Struct holding metadata about a class.

The first field of all instances of a class will point to one of these structures.

Definition at line 109 of file runtime.hh.

Member Data Documentation

§ className

const char* MysoreScript::Class::className

The name of this class.

Definition at line 119 of file runtime.hh.

§ indexedIVarCount

int32_t MysoreScript::Class::indexedIVarCount

The number of indexed instance variables that this class has.

Definition at line 127 of file runtime.hh.

§ indexedIVarNames

const char** MysoreScript::Class::indexedIVarNames

The names of the instance variables.

Definition at line 136 of file runtime.hh.

§ methodCount

int32_t MysoreScript::Class::methodCount

The number of methods that this class implements.

Definition at line 123 of file runtime.hh.

§ methodList

struct Method* MysoreScript::Class::methodList

An array of methodCount elements describing the methods that this class implements.

Definition at line 132 of file runtime.hh.

§ superclass

struct Class* MysoreScript::Class::superclass

The superclass of this class, if it has one, or a null pointer if it is a root class.

Definition at line 115 of file runtime.hh.


The documentation for this struct was generated from the following file: