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

The primitive String class in MysoreScript. More...

#include <runtime.hh>

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

Public Attributes

Classisa
 Class pointer. More...
 
Obj length
 The number of characters in the string. More...
 
char characters [0]
 An array of characters. More...
 

Detailed Description

The primitive String class in MysoreScript.

Definition at line 179 of file runtime.hh.

Member Data Documentation

§ characters

char MysoreScript::String::characters[0]

An array of characters.

The actual length of this array is defined when the object is created.

Definition at line 193 of file runtime.hh.

§ isa

Class* MysoreScript::String::isa

Class pointer.

Always set to &StringClass.

Definition at line 184 of file runtime.hh.

§ length

Obj MysoreScript::String::length

The number of characters in the string.

Definition at line 188 of file runtime.hh.


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