File tom/Extension


class tom.Extension

Inherits

State supers
State, Conditions

variables

static MutableArray extensions;
All extensions, here to be protected against gc.

methods

instance (id)
  new pointer p;
Designated allocator. Do not use alloc or plain new.

instance tom.Extension

variables

pointer rti;
The runtime structure describing this extension.
Indexed var_names;
The names of this extension's variables.

methods

void
  dealloc;
An Extension should never be deallocated. This method raises, which is a panic during garbage collection...

boolean
  implements selector sel;
Return YES if this extension provides an implementation for the selector sel.

protected id (self)
  init pointer r;
Designated initializer.

class (State)
  meta;
Return the class object to which this extension belongs.

String
  name;
Return the name of this extension.

Indexed
  variables;
Return the names of the variables in this extension.

int
  typeOfVariableNamed String name
                   in All object;
Undocumented.

_builtin_.Any
  valueOfVariableNamed String name
                    in All object;
Undocumented.

OutputStream
  writeFields OutputStream s;
Undocumented.

dynamic
  perform selector sel
       on All object
     with dynamic arguments;
The equivalent of perform with where the method invoked is defined by this extension instead of the receiving object. Obviously, the object should actually have this extension as one of its extensions, i.e. [object isKindOf [self meta]] should be a precondition (and a postcondition too, but we're not interested after the fact).

dynamic
  perform selector sel
       on All object
        : Array arguments = nil;
Undocumented.


Generated by tm 1.01.