1.2.3Class Class

Metaclass of Class items.

Class Class from \
                 BOM( )

This is the class reflecting falcon class items. A class is a callable item that can generate instances.

Methods
attributesReturns a dictionary containing annotation attributes of the given class.
propertiesReturns all the properties in the class.
Methods inherited from class BOM
__addOverrides binary addition operand.
__callOverrides call operator "self()".
__decOverrides decrement unary prefix operand.
__decpostOverrides decrement unary postfix operand.
__divOverrides binary division operand.
__getIndexOverrides array access operator []
__incOverrides increment unary prefix operand.
__incpostOverrides increment unary postifx operand.
__modOverrides modulo operand.
__mulOverrides binary multiplication operand.
__powOverrides power operand.
__setIndexOverrides array write operator []
__subOverrides binary subtraction operand.
baseClassReturns the class item from which an object has been instantiated.
boundDetermines if an item is bound or not.
classNameReturns the name of the class an instance is instantiated from.
clonePerforms a deep copy of the item.
comparePerforms a lexicographical comparison.
derivedFromChecks if this item has a given parent.
describeReturns the deep contents of an item on a string representation.
isCallableDetermines if an item is callable.
lenRetrieves the length of a collection
metaclassReturns the metaclass associated with this item.
ptrReturns a raw memory pointer out of this data (as an integer).
serializeSerialize the item on a stream for persistent storage.
toStringCoverts the object to string.
typeIdReturns an integer indicating the type of this item.

Methods

attributes

Returns a dictionary containing annotation attributes of the given class.

Class.attributes()
ReturnNil if the class has no attributes, or a string-indexed dictionary.

See also: attributes.

properties

Returns all the properties in the class.

Class.properties()
ReturnAn array of strings representing property names.

This method returns all the properties in this class.

The property list includes properties that refer to any kind of data, including functions (that is, methods), but it doesn't include properties in the metaclass of this item (FBOM properties).

The returned list is ordered by UNICODE value of the property names.

Note: Subclasses are seen as properties, so they will returned in the list too.

Made with http://www.falconpl.org