diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-03-21 15:38:05 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-03-21 15:38:05 +0100 |
commit | 3cc139bce0283018473d4906ee2ea5f40f771255 (patch) | |
tree | 658956ab52b8892d419a2ba905f4c41f21f6d926 /cpp.h | |
parent | 74350b52fee9f576a1cc71d99cfd4ebdf5a73e0f (diff) |
Add lexer to CPP
Diffstat (limited to 'cpp.h')
-rw-r--r-- | cpp.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -17,11 +17,11 @@ std::string valueOfNode(index_t node_index, const std::vector<Gram::TreeNode>& T // phases of translation, according to standard void source_charset_map(); // phase 1 void backslash_escape(); // phase 2 -std::pair<index_t, std::vector<Gram::TreeNode>> preprocessing_tokenize(const std::string& s); // phase 3 +std::vector<Token> preprocessing_tokenize(const std::string& s); // phase 3 void preprocess(); // phase 4 void execution_charset_map(); // phase 5 void concatenate_strings(); // phase 6 -std::vector<Token> tokens_from_pptokens(std::pair<index_t, std::vector<Gram::TreeNode>> Tree); // phase 7.a +std::vector<Token> tokens_from_pptokens(std::vector<Token> pp_tokens); // phase 7.a std::pair<index_t, std::vector<Gram::TreeNode>> analysis(std::vector<Token>); // phase 7.b void translate(); // phase 7.c void instantiate(); // phase 8 |