Website Summary Files Commits Branches @commit @diff @stats
path: root / homework / 81352 / ts2html / token.h
diff options
context:
space:
mode:
1 files changed, 0 insertions, 35 deletions
-rw-r--r--homework/81352/ts2html/token.h35
diff --git a/homework/81352/ts2html/token.h b/homework/81352/ts2html/token.h
deleted file mode 100644
index 977a57c..0000000
--- a/homework/81352/ts2html/token.h
+++ /dev/null
@@ -1,35 +0,0 @@
-#ifndef TOKEN
-#define TOKEN
-
-#include <string>
-
-enum TokenType {
- KEYWORD,
- IDENTIFIER,
- NUMBER,
- OPERATOR,
- STRING,
- SEMICOLON,
- LEFT_BLOCK_BRACKET,
- RIGHT_BLOCK_BRACKET,
- LEFT_BRACKET,
- RIGHT_BRACKET,
- NEWLINE,
- WHITESPACE,
- DECORATOR,
- COMMENT,
- OTHER,
- UNRECOGNIZED
-};
-
-class Token {
- private:
- std::string text;
- TokenType type;
- public:
- Token(std::string, TokenType);
- std::string getTypeName();
- std::string getTextValue();
- TokenType getTokenType();
-};
-#endif \ No newline at end of file