Contains the source code from the course work throughout my undergraduate Computer Engineering degree at Brigham Young University. There is a mixture of Go, Python, C, C++, Java, VHDL, Verilog, Matlab, Bash, Assembly, etc..
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines

  1. #ifndef __TOKEN_H__
  2. #define __TOKEN_H__
  3. #include <iostream>
  4. using namespace std;
  5. class token {
  6. public:
  7. token(string, string, int);
  8. string type;
  9. string character;
  10. int line_num;
  11. friend ostream & operator<<(ostream & os, token tk);
  12. };
  13. #endif