tree-sitter/src/compiler/generate_code/helpers.h
Max Brunsfeld e1ac62edc5 Give better symbol names to generated tokens
This should make debugging easier
2014-03-27 12:54:54 -07:00

16 lines
468 B
C++

#ifndef COMPILER_GENERATE_CODE_HELPERS_H_
#define COMPILER_GENERATE_CODE_HELPERS_H_
#include <string>
#include <vector>
namespace tree_sitter {
namespace generate_code {
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);
}
}
#endif // COMPILER_GENERATE_CODE_HELPERS_H_