Object class | systype.h[38], reflect.t[181]

The root object class. All objects descend from this class.

Modified in reflect.t[181]:
Modify the basic Object class to provide a to-symbol mapping

`intrinsic class Object :`

Superclass Tree (in declaration order)

`Object`

Subclass Tree

`Object`
`BigNumber`
`ByteArray`
`CharacterSet`
`Collection`
`List`
`LookupTable`
`WeakRefLookupTable`
`Vector`
`AnonFuncPtr`
`Dictionary`
`File`
`GrammarProd`
`IntrinsicClass`
`Iterator`
`IndexedIterator`
`LookupTableIterator`
`RexPattern`
`String`
`StringComparator`
`TadsObject`

Global Objects

(none)

Summary of Properties

``

(none)

Summary of Methods

`getPropList getPropParams getSuperclassList isClass isTransient ofKind propDefined propInherited propType valToSymbol`

Properties

(none)

Methods

`getPropList ( )` | `systype.h[61]`

Get a list of my directly-defined properties. When called on intrinsic class objects, this returns a list of properties defined for instances of the class, as well as static properties of the class.

`getPropParams (prop)` | `systype.h[71]`

get parameter list information for the given method - returns a list: [minimumArgc, optionalArgc, varargs], where minimumArgc is the minimum number of arguments, optionalArgc is the number of additional optional arguments, and varargs is true if the function takes a varying number of arguments greater than or equal to the minimum, nil if not.

`getSuperclassList ( )` | `systype.h[47]`

get the list of direct superclasses of this object

`isClass ( )` | `systype.h[77]`

determine if I'm a "class" object - returns true if the object was defined with the "class" keyword, nil otherwise

`isTransient ( )` | `systype.h[88]`

determine if this instance is transient

`ofKind (cls)` | `systype.h[44]`

Determine if I'm an instance or subclass of the given class 'cls'. Note that x.ofKind(x) returns true - an object is of its own kind.

`propDefined (prop, flags, ?)` | `systype.h[50]`

determine if a property is defined or inherited by this object

`propInherited (prop, origTargetObj, definingObj, flags, ?)` | `systype.h[85]`

Determine if a property is inherited further from the given object. definingObj is usually the value of the 'definingobj' pseudo-variable, and origTargetObj is usually the value of the 'targetobj' pseudo-variable.

`propType (prop)` | `systype.h[53]`

get the type of a property defined for this object

`valToSymbol ( )` | `reflect.t[182]`

no description available

TADS 3 Library Manual
Generated on 9/13/2007 from TADS version 3.0.15.2