GrClassDefinition

Define the content of a class. \ Not to be confused with GrType used by the type system.

class MyClass {
    // Fields
}

Members

Structs

FieldInfo
struct FieldInfo
Undocumented in source.

Variables

fields
string[] fields;

List of field names.

fieldsInfo
FieldInfo[] fieldsInfo;
Undocumented in source.
fileId
uint fileId;

The file where the type is declared.

index
size_t index;

Unique ID of the object definition.

isParsed
bool isParsed;

Is the declaration of the class already parsed ?

isPublic
bool isPublic;

Is the type visible from other files ?

name
string name;

Identifier.

parent
string parent;

Mother class it inherit from.

parentTemplateSignature
GrType[] parentTemplateSignature;

List of template types.

position
uint position;

The lexeme that declared it.

signature
GrType[] signature;

List of field types.

templateTypes
GrType[] templateTypes;

List of template types.

templateVariables
string[] templateVariables;

List of template variables.

Meta