// // EXPParser.h // ParserTest // // Created by Ashley on 29/05/2007. // Copyright 2007 __MyCompanyName__. All rights reserved. // #import @interface EXPParser : NSObject { unichar _ch; NSString *_string; NSString *_symbol; int _symbolType; int _count; int _length; BOOL _newLine; int _lineNumber; BOOL _readPastEol; BOOL _skipComments; BOOL _echo; } - (id) string; - (void) setString:(id)string; - (void) setEcho:(BOOL)echo; - (BOOL) echo; - (void) readChar; - (void) readSymbol; - (BOOL) testSymbol:(NSString *)symbol; - (BOOL) checkSymbol:(NSString *)symbol; - (id) symbol; - (int) lineNumber; - (BOOL) isBinaryOp; - (BOOL)isLiteral; - (BOOL) isStringLiteral; - (BOOL)isIdentifier; - (BOOL) isEndOfLine; - (BOOL) isEndOfFile; @end