Up
Authors
- Stefan Urbanek (
urbanek@host.sk)
-
Date: Generated at 2025-11-27 15:04:44 +0000
Copyright: (C) 2002 Free Software Foundation
- Declared in:
- StepTalk/STContext.h
Description forthcoming.
STContext declares 4 Instance Variables
- (void)
addNamedObjectsFromDictionary: (
NSDictionary*)dict;
Description forthcoming.
- (BOOL)
createsUnknownObjects;
Returns YES if unknown objects are
being created.
- (BOOL)
fullScriptingEnabled;
Returns YES if full scripting is
enabled.
- (
NSArray*)
knownObjectNames;
Description forthcoming.
- (
NSMutableDictionary*)
objectDictionary;
Returns a dictionary of all named objects in the
environment.
- (id)
objectWithName: (
NSString*)objName;
Return object with name objName. If
object is not found in the object dictionary, then
object finders are used to try to find the object.
If object is found by an object finder, then it is put
into the object dicitonary. If there is no object with
given name, nil is returned.
- (
STContext*)
parentContext;
Description forthcoming.
- (void)
removeObjectWithName: (
NSString*)objName;
Remove object named objName.
- (void)
setCreatesUnknownObjects: (BOOL)flag;
Enable or disable creation of unknown objects.
Normally you get nil if you request
for non-existant object. If flag is
YES then by requesting non-existant
object, name for that object is created and it is
set no STNil.
Note: This method will be probably removed (moved
to Smalltalk language bundle).
- (void)
setFullScriptingEnabled: (BOOL)flag;
Full scripting
Enable or disable full
scripting. When full scripting is enabled, you
may send any message to any object.
- (void)
setObject: (id)anObject
forName: (
NSString*)objName;
Register object anObject with name
objName.
- (void)
setParentContext: (
STContext*)context;
Description forthcoming.
Instance Variables for STContext Class
@protected BOOL
createsUnknownObjects;
Description forthcoming.
@protected BOOL
fullScripting;
Description forthcoming.
@protected NSMutableDictionary*
objectDictionary;
Description forthcoming.
@protected STContext*
parentContext;
Description forthcoming.
Up