school/cs236/lexer/token.h
2016-04-06 20:46:32 -07:00

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