diff -r 0796c5592f00 -r b0d72eb511c9 parser.h --- a/parser.h Mon Apr 09 15:42:21 2007 +0000 +++ b/parser.h Wed Apr 25 16:02:54 2007 +0000 @@ -10,9 +10,10 @@ { public: Parser(); - void parseAtom (const QString &input); - QString command(); - QStringList parameters(); + void parseAtom (QString input); + QString getAtom(); + QString getCommand(); + QStringList getParameters(); int paramCount(); QString errorMessage(); QString errorDescription(); @@ -30,15 +31,18 @@ void setScript (const QString &); QString getScript(); void runScript(); - bool scriptNextAtom(); + bool next(); private: - void initCommand(); + void initParser(); + void initAtom(); QString input; + QString atom; QString com; QStringList paramList; + int current; QString script; QString errMessage;