quakeforge/ruamoko/scheme/Lexer.h
Brian Koropoff 256630c84d Added proper error checking and reporting with line numbers. Next:
Runtime errors and support for line number reporting with the error.
2005-05-02 04:58:22 +00:00

18 lines
353 B
Objective-C

#ifndef __Lexer_h
#define __Lexer_h
#include "SchemeObject.h"
#include "Symbol.h"
@interface Lexer: Object
{
string source;
string filename;
integer linenum;
}
+ (id) newFromSource: (string) s file: (string) f;
- (id) initWithSource: (string) s file: (string) f;
- (SchemeObject) nextToken;
- (integer) lineNumber;
@end
#endif //__Lexer_h