diff options
Removed old homeworks
1 files changed, 0 insertions, 52 deletions
| -rw-r--r-- | homework/81350/py2html/Token.h | 52 |
diff --git a/homework/81350/py2html/Token.h b/homework/81350/py2html/Token.h deleted file mode 100644 index 97dda8d..0000000 --- a/homework/81350/py2html/Token.h +++ /dev/null @@ -1,52 +0,0 @@ -#pragma once -#include<string> -#include<unordered_map> - -typedef std::string IPLString ; - - enum TokenType{ - False, - None, - True, - And, - As, - Assert, - Break, - Class, - Continue, - Def, - Del, - Elif, - Else, - Except, - Finally, - For, - From, - Global, - If, - Import, - In, - Is, - Lambda, - Nonlocal, - Not, - Or, - Pass, - Print, - Raise, - Return, - Try, - While, - With, - Yield - }; - -struct Token -{ - TokenType Type; - unsigned Line; - IPLString Lexeme; - double Number = 0.0; -}; - -extern std::unordered_map<std::string, TokenType> keywords; |
