Objects are the only way in TOM to create an aggregate value--there is no such thing as a struct.
Number
and a ByteArray, so not all objects are of the same kind.
The default value of an object-typed variable is the invalid reference,
nil. The type of nil is _builtin_.Any.
object_type:
class_name
| `id'
| `class' `(' object_type `)'
| `instance' `(' object_type `)'
;
The plain object_type is a class_name; this indicates the
instance of the indicated class. id indicates the type of
the actual receiver (see section The id type). The variation with a `class'
or `instance' shifts the meta level into the specified direction.
Examples:
Foo
Foo (or an instance of a subclass
of Foo).
class (Foo)
Foo class object (or the class object of a
subclass of Foo).
instance (id)
class (id)
State class.
As the receiver of a method invocation, a class_name denotes the
class object (see section Method invocations).
Go to the first, previous, next, last section, table of contents.