implemented, beginning of the javaDoc convertor git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2008-cherylfoil@10670 626c5289-ae23-0410-ae9c-e8d60b6d4f22
21 lines
417 B
C++
21 lines
417 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; /* currently can be END_LINE, PLAINSTRING, or COMMAND */
|
|
string tokenString; /* the data , such as param for @param*/
|
|
string toString();
|
|
};
|
|
|
|
#endif /*TOKEN_H_*/
|