2005-05-01 11:48:36 +00:00
|
|
|
#ifndef __SchemeObject_h
|
|
|
|
#define __SchemeObject_h
|
|
|
|
#include "Object.h"
|
|
|
|
#define true YES
|
|
|
|
#define false NO
|
2005-05-02 02:33:44 +00:00
|
|
|
#define dprintf(x, ...)
|
2005-05-06 23:25:06 +00:00
|
|
|
|
2005-05-02 02:33:44 +00:00
|
|
|
|
|
|
|
|
2005-05-01 11:48:36 +00:00
|
|
|
@interface SchemeObject: Object
|
|
|
|
{
|
2011-02-14 22:39:43 +09:00
|
|
|
@public SchemeObject *prev, *next;
|
2005-05-02 02:33:44 +00:00
|
|
|
BOOL marked, root;
|
2011-03-25 16:46:32 +09:00
|
|
|
int line;
|
2005-05-02 04:58:22 +00:00
|
|
|
string source;
|
2005-05-01 11:48:36 +00:00
|
|
|
}
|
2020-03-03 17:35:14 +09:00
|
|
|
+ (void) finishCollecting;
|
2010-12-16 20:01:49 +09:00
|
|
|
+ (void) collectCheckPoint;
|
2005-05-01 11:48:36 +00:00
|
|
|
- (void) mark;
|
2005-05-02 02:33:44 +00:00
|
|
|
- (void) markReachable;
|
|
|
|
- (void) makeRootCell;
|
2005-05-01 11:48:36 +00:00
|
|
|
- (string) printForm;
|
2005-05-02 04:58:22 +00:00
|
|
|
- (string) source;
|
|
|
|
- (void) source: (string) s;
|
2011-03-25 16:46:32 +09:00
|
|
|
- (int) line;
|
|
|
|
- (void) line: (int) l;
|
2005-05-02 04:58:22 +00:00
|
|
|
- (BOOL) isError;
|
2005-05-01 11:48:36 +00:00
|
|
|
@end
|
|
|
|
|
|
|
|
#endif //__SchemeObject_h
|