Website Summary Files Commits Branches @commit @diff @stats
path: root / homework / 81352 / ts2html / highlighter.h
diff options
context:
space:
mode:
1 files changed, 17 insertions, 0 deletions
-rw-r--r--homework/81352/ts2html/highlighter.h17
diff --git a/homework/81352/ts2html/highlighter.h b/homework/81352/ts2html/highlighter.h
new file mode 100644
index 0000000..3a0e476
--- /dev/null
+++ b/homework/81352/ts2html/highlighter.h
@@ -0,0 +1,17 @@
+#ifndef HIGHLIGHTER
+#define HIGHLIGHTER
+
+#include <vector>
+#include <string>
+#include "token.h"
+
+class Highlighter {
+ private:
+ std::vector<Token> tokens;
+ void preProcessTokens();
+ public:
+ Highlighter(std::vector<Token>);
+ std::string highlight();
+
+};
+#endif \ No newline at end of file