inspect | = | "Base" |
Base is the top of the inheritance structure. Most of the objects in the system are derived from this instance. Base should keep its cells to the bare minimum needed for the system.
-
none
- =([place], value, +[morePlacesForDestructuring])
- ==(other)
- cell(cellName)
- cell=(cellName, value)
- cell?(cellName)
- cellNames(includeMimics false, cutoff nil)
- cellOwner(cellName)
- cellOwner?(cellName)
- cells(includeMimics false)
- documentation()
- documentation=(text)
- hash()
- identity()
- mimic()
- removeCell!(cellName)
- undefineCell!(cellName)
expects two or more arguments, the first arguments unevaluated, the last evaluated. assigns the result of evaluating the last argument in the context of the caller, and assigns this result to the name/s provided by the first arguments. the first arguments remains unevaluated. the result of the assignment is the value assigned to the name. if the last argument is a method-like object and it's name is not set, that name will be set to the name of the cell.
returns true if the left hand side is equal to the right hand side. exactly what this means depend on the object. the default behavior of Ioke objects is to only be equal if they are the same instance.
expects one evaluated text or symbol argument and returns the cell that matches that name, without activating even if it's activatable.
expects one evaluated text or symbol argument that names the cell to set, sets this cell to the result of evaluating the second argument, and returns the value set.
expects one evaluated text or symbol argument and returns a boolean indicating whether such a cell is reachable from this point.
takes one optional evaluated boolean argument, which defaults to false. if false, this method returns a list of the cell names of the receiver. if true, it returns the cell names of this object and all it's mimics recursively.
expects one evaluated text or symbol argument and returns the closest object that defines such a cell. if it doesn't exist, a NoSuchCell condition will be signalled.
expects one evaluated text or symbol argument and returns a boolean indicating whether this cell is owned by the receiver or not. the assumption is that the cell should exist. if it doesn't exist, a NoSuchCell condition will be signalled.
takes one optional evaluated boolean argument, which defaults to false. if false, this method returns a dict of the cell names and values of the receiver. if true, it returns the cell names and values of this object and all it's mimics recursively.
returns the documentation text of the object called on. anything can have a documentation text - this text will initially be nil.
will return a new derivation of the receiving object. Might throw exceptions if the object is an oddball object.
expects one evaluated text or symbol argument and removes that cell from the current receiver. if the current receiver has no such object, signals a condition. note that if another cell with that name is available in the mimic chain, it will still be accessible after calling this method. the method returns the receiver.
expects one evaluated text or symbol argument and makes that cell undefined in the current receiver. what that means is that from now on it will look like this cell doesn't exist in the receiver or any of its mimics. the cell will not show up if you call cellNames on the receiver or any of the receivers mimics. the undefined status can be removed by doing removeCell! on the correct cell name. a cell name that doesn't exist can still be undefined. the method returns the receiver.