Website Summary Files Commits Branches @commit @diff @stats
path: root / homework / 81568 / c2html / html_utils.h
blob: 8d8cf0db7161a7e17817fb832778e80a891d2d11 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef HTML_UTILS_H
#define HTML_UTILS_H

#include "lexcer.h"
using LexCer::Token;
using LexCer::TokenClass;
using LexCer::Tokenizer;

namespace HTMLUtils {
  
std::string escapeHTML(const std::string &lexeme);
bool writeToOutput(FILE *out, Token token);
std::string getOutputFileName(const std::string &name);
void lexCit(FILE *in, FILE *out);
  
} /* Namespace HMTLUtils */

#endif /* HTML_UTILS_H */