From 428aa889649c3688240a14a4f291b8a2be1e2ae8 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Tue, 12 Aug 2008 19:18:52 +0200 Subject: MLKLexicalContext: Add management of user-defined function and variable properties. --- MLKLexicalContext.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'MLKLexicalContext.h') 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 +#import #import @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 -- cgit v1.2.3