blob: 7bb62c24fe3e59764c00229ab6fb1c79caaf30d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#pragma once
#include "minicc.h"
#include <vector>
namespace CPP {
void PreprocessorTokensToTokens(std::vector<Token>& tokens);
// phases of translation, according to standard
void source_charset_map(); // phase 1
void backslash_escape(); // phase 2
void preprocessing_tokenize(); // phase 3
void preprocess(); // phase 4
void execution_charset_map(); // phase 5
void concatenate_strings(); // phase 6
void tokens_from_pptokens(); // phase 7
void instantiate(); // phase 8
void link(); // phase 9
// all phases of translation
void translate();
}
|