diff options
author | Matthias Andreas Benkard <matthias@benkard.de> | 2008-07-07 20:16:53 +0200 |
---|---|---|
committer | Matthias Andreas Benkard <matthias@benkard.de> | 2008-07-07 20:16:53 +0200 |
commit | f47f28ae81b71049496fa96e6f27b3e2794fc9cb (patch) | |
tree | bd21b52cb841b1ef65d71e0add5b0e9c812fe722 /MLKDynamicContext.h | |
parent | ffba1c0c3bb96239a7d8b4463d5b78d0455adc40 (diff) |
Interpreter: Establish catch tags in the dynamic context.
Diffstat (limited to 'MLKDynamicContext.h')
-rw-r--r-- | MLKDynamicContext.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/MLKDynamicContext.h b/MLKDynamicContext.h index 97f24a5..57931e3 100644 --- a/MLKDynamicContext.h +++ b/MLKDynamicContext.h @@ -22,6 +22,7 @@ #import <Foundation/NSObject.h> #import <Foundation/NSDictionary.h> +#import <Foundation/NSSet.h> #import <Foundation/NSString.h> @@ -29,7 +30,7 @@ { MLKEnvironment *_conditionHandlers; MLKEnvironment *_restarts; - MLKEnvironment *_catchTags; + NSSet *_catchTags; MLKEnvironment *_environment; MLKEnvironment *_activeHandlerEnvironment; // needed for the Condition Firewall MLKDynamicContext *_parent; @@ -41,7 +42,7 @@ variables:(NSDictionary *)vars handlers:(NSDictionary *)handlers restarts:(NSDictionary *)restarts - catchTags:(NSDictionary *)catchTags + catchTags:(NSSet *)catchTags activeHandlerEnvironment:(MLKEnvironment *)handlerEnv; +(MLKDynamicContext *) globalContext; @@ -55,7 +56,8 @@ -(id) findRestart:(MLKSymbol *)symbol; -(id) findHandler:(MLKSymbol *)symbol; --(id) findCatchTag:(MLKSymbol *)symbol; + +-(BOOL) catchTagIsEstablished:(id)tag; -(id) valueForSymbol:(MLKSymbol *)symbol; -(void) setValue:(id)value forSymbol:(MLKSymbol *)symbol; |