school/cs236/lexer/token.h

17 lines
424 B
C
Raw Normal View History

2016-04-06 20:46:32 -07:00
#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