mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-14 08:50:58 +00:00
75ec6bf244
This is a nasty commit, sorry, but 99% of the commit is interdependent.
18 lines
362 B
Objective-C
18 lines
362 B
Objective-C
#ifndef __Lexer_h
|
|
#define __Lexer_h
|
|
#include "SchemeObject.h"
|
|
#include "Symbol.h"
|
|
|
|
@interface Lexer: SchemeObject
|
|
{
|
|
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
|