diff options
Diffstat (limited to 'MLKEnvironment.h')
-rw-r--r-- | MLKEnvironment.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/MLKEnvironment.h b/MLKEnvironment.h new file mode 100644 index 0000000..b100137 --- /dev/null +++ b/MLKEnvironment.h @@ -0,0 +1,19 @@ +/* -*- mode: objc; coding: utf-8 -*- */ +/* Copyright 2008, Matthias Benkard. */ + +#import "MLKLispValue.h" + +@class NSMutableDictionary, MLKLinkedList, MLKSymbol; + + +@interface MLKEnvironment : MLKLispValue +{ + MLKLinkedList *_bindings; +} + +-(MLKEnvironment *) init; +-(MLKEnvironment *) initWithParent:(MLKEnvironment *)parent; + +-(void) setBinding:(MLKSymbol *)symbol to:(id)value; +-(id) valueForBinding:(MLKSymbol *)symbol; +@end |