1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 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