diff options
Diffstat (limited to 'MLKLexicalContext.h')
-rw-r--r-- | MLKLexicalContext.h | 13 |
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 |