17 lines
424 B
C++
17 lines
424 B
C++
#ifndef __TOKEN_H__
|
|
#define __TOKEN_H__
|
|
|
|
#include <iostream>
|
|
|
|
using namespace std;
|
|
|
|
class token {
|
|
public:
|
|
token(string, string, int);
|
|
string type;
|
|
string character;
|
|
int line_num;
|
|
friend ostream & operator<<(ostream & os, token tk);
|
|
};
|
|
#endif
|