Give better symbol names to generated tokens
This should make debugging easier
This commit is contained in:
parent
2226234924
commit
e1ac62edc5
14 changed files with 1017 additions and 842 deletions
|
|
@ -5,14 +5,11 @@
|
|||
#include <vector>
|
||||
|
||||
namespace tree_sitter {
|
||||
using std::string;
|
||||
using std::vector;
|
||||
|
||||
namespace generate_code {
|
||||
string indent(string input);
|
||||
string join(vector<string> lines, string separator);
|
||||
string join(vector<string> lines);
|
||||
string escape_string(string input);
|
||||
std::string indent(std::string input);
|
||||
std::string join(std::vector<std::string> lines, std::string separator);
|
||||
std::string join(std::vector<std::string> lines);
|
||||
std::string character_code(char character);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue