NSMutableDictionary
Extensions
NSMutableDictionary extensions for Nu programming.
Declared in: objc/extensions.h
In Nu, NSMutableDictionaries are used to represent evaluation contexts.
Context keys are NuSymbols, and the associated objects are the symbols'
assigned values.
Methods
| - |
(id) |
lookupObjectForKey: |
(id) key |
Looks up the value associated with a key in the current context.
If no value is found, looks in the context's parent, continuing
upward until no more parent contexts are found.
in objc/extensions.h
| - |
(void) |
setPossiblyNullObject: |
(id) anObject |
|
forKey: |
(id) aKey |
Add an object to a dictionary, automatically converting nil into [NSNull null].
in objc/extensions.h