Objectclass
The root object class. All objects descend from this class.
Modified in
reflect.t[235]:
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
Date
Dictionary
File
FileName
GrammarProd
HTTPRequest
HTTPServer
IntrinsicClass
Iterator
IndexedIterator
LookupTableIterator
RexPattern
String
StringComparator
TadsObject
TemporaryFile
TimeZone
Global Objects
(none)
Summary of Properties
(none)
Summary of Methods
getPropList
getPropParams
getSuperclassList
isClass
isTransient
ofKind
propDefined
propInherited
propType
valToSymbol
Properties
(none)
Methods
getPropList ( )
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)
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 ( )
get the list of direct superclasses of this object
isClass ( )
determine if I’m a “class” object - returns true if the object was defined with the “class” keyword, nil otherwise
isTransient ( )
determine if this instance is transient
ofKind (cls)
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?)
determine if a property is defined or inherited by this object
propInherited (prop, origTargetObj, definingObj, flags?)
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)
get the type of a property defined for this object
valToSymbol ( )
no description available
TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3