1.2.9Class LateBinding

Metaclass for LateBinding type.

Class LateBinding from \
                 BOM( )

Late bindings are special items treated as "symbols", that can receive an associated value at runtime.

Methods
boundChecks if the late binding is bound.
symbolReturns the symbol name associated with a late binding.
valueReturns the value associated with a late binding.
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

bound

Checks if the late binding is bound.

LateBinding.bound()
ReturnTrue if this late binding has a bound value.

symbol

Returns the symbol name associated with a late binding.

LateBinding.symbol()
ReturnThe symbol name

value

Returns the value associated with a late binding.

LateBinding.value()
ReturnA value or nil if no value is associated.

To determine if this binding has a "nil" value associated, use LateBinding.bound.

Made with http://www.falconpl.org