mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 21:02:50 +00:00
281b683e14
standard, implemented in Ruamoko. Currently works for a few simple "Hello, world!" programs.
20 lines
369 B
Objective-C
20 lines
369 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;
|
|
- (integer) depthOf: (Symbol) sym;
|
|
- (integer) indexOf: (Symbol) sym;
|
|
- (void) addName: (Symbol) sym;
|
|
|
|
@end
|
|
|
|
#endif //__Scope_h
|