git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2008-cherylfoil@10659 626c5289-ae23-0410-ae9c-e8d60b6d4f22
21 lines
319 B
C++
21 lines
319 B
C++
#ifndef TOKEN_H_
|
|
#define TOKEN_H_
|
|
#include <string>
|
|
|
|
#define END_LINE 101
|
|
#define PARAGRAPH_END 102
|
|
#define PLAINSTRING 103
|
|
#define COMMAND 104
|
|
using namespace std;
|
|
|
|
class Token
|
|
{
|
|
public:
|
|
Token(int tType, string tString);
|
|
~Token();
|
|
int tokenType;
|
|
string tokenString;
|
|
string toString();
|
|
};
|
|
|
|
#endif /*TOKEN_H_*/
|