Website Summary Files Commits Branches @commit @diff @stats
path: root / homework / 81352 / ts2html / highlighter.h
blob: 3a0e47641abe37a6e9b31d7e406777348b7a53f9 (plain) (blame)
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