summaryrefslogtreecommitdiff
path: root/MLKLexicalContext.h
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <matthias@benkard.de>2008-08-12 19:18:52 +0200
committerMatthias Andreas Benkard <matthias@benkard.de>2008-08-12 19:18:52 +0200
commit428aa889649c3688240a14a4f291b8a2be1e2ae8 (patch)
tree46674240dee89c93632274d6329b84b00e1f5b42 /MLKLexicalContext.h
parentd9a4288c6b7acfbcb7e819841a291f3063daa00c (diff)
MLKLexicalContext: Add management of user-defined function and variable properties.
Diffstat (limited to 'MLKLexicalContext.h')
-rw-r--r--MLKLexicalContext.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/MLKLexicalContext.h b/MLKLexicalContext.h
index 0a37a35..de6bfd7 100644
--- a/MLKLexicalContext.h
+++ b/MLKLexicalContext.h
@@ -19,6 +19,7 @@
#import "MLKFuncallable.h"
#import <Foundation/NSArray.h>
+#import <Foundation/NSDictionary.h>
#import <Foundation/NSSet.h>
@class MLKEnvironment, MLKLexicalEnvironment, MLKSymbol, NSSet,
@@ -36,6 +37,8 @@
MLKEnvironment *_goTags;
NSMutableSet *_functions;
NSMutableSet *_variables;
+ NSMutableDictionary *_functionInfo;
+ NSMutableDictionary *_variableInfo;
id _declarations;
MLKLexicalContext *_parent;
}
@@ -92,5 +95,15 @@
-(BOOL) variableIsLexical:(MLKSymbol *)symbol;
+-(id) deepPropertyForVariable:(id)name key:(id)key;
+-(void) setDeepProperty:(id)object
+ forVariable:(id)name
+ key:(id)key;
+
+-(id) deepPropertyForFunction:(id)name key:(id)key;
+-(void) setDeepProperty:(id)object
+ forFunction:(id)name
+ key:(id)key;
+
-(void) dealloc;
@end