quakeforge/ruamoko/scheme/Lexer.h

19 lines
353 B
C
Raw Permalink Normal View History

#ifndef __Lexer_h
#define __Lexer_h
#include "SchemeObject.h"
#include "Symbol.h"
@interface Lexer: SchemeObject
{
string source;
string filename;
int linenum;
}
+ (id) newFromSource: (string) s file: (string) f;
- (id) initWithSource: (string) s file: (string) f;
2011-02-14 13:39:43 +00:00
- (SchemeObject *) nextToken;
- (int) lineNumber;
@end
#endif //__Lexer_h