mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-06 13:11:20 +00:00
21 lines
369 B
C
21 lines
369 B
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;
|
||
|
- (integer) depthOf: (Symbol) sym;
|
||
|
- (integer) indexOf: (Symbol) sym;
|
||
|
- (void) addName: (Symbol) sym;
|
||
|
|
||
|
@end
|
||
|
|
||
|
#endif //__Scope_h
|