mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-12-20 17:41:06 +00:00
20 lines
391 B
Objective-C
20 lines
391 B
Objective-C
#ifndef __Scope_h
|
|
#define __Scope_h
|
|
#include "SchemeObject.h"
|
|
#include "Array.h"
|
|
#include "Symbol.h"
|
|
|
|
@interface Scope: SchemeObject
|
|
{
|
|
Scope *outerScope;
|
|
Array *names;
|
|
}
|
|
+ (id) newWithOuter: (Scope *) o;
|
|
- (id) initWithOuter: (Scope *) o;
|
|
- (int) depthOf: (Symbol *) sym;
|
|
- (int) indexOf: (Symbol *) sym;
|
|
- (void) addName: (Symbol *) sym;
|
|
- (Scope *) outer;
|
|
@end
|
|
|
|
#endif //__Scope_h
|