From ccd71ee220093774a35708d8c1e31936b012930a Mon Sep 17 00:00:00 2001 From: Dimitar Milev Date: Sat, 3 Nov 2018 12:52:28 +0100 Subject: 81352 - homework 2 (#32) * fix(hw1): use yyextra instead global variable * hw2: extended the typescript syntax highlighter with collapsible block structures --- homework/81352/ts2html/token.h | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 homework/81352/ts2html/token.h (limited to 'homework/81352/ts2html/token.h') 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 - -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 -- cgit v1.3.1-26-gb76a