2014-03-09 22:05:17 -07:00
|
|
|
#ifndef COMPILER_GENERATE_CODE_HELPERS_H_
|
|
|
|
|
#define COMPILER_GENERATE_CODE_HELPERS_H_
|
2014-02-26 19:08:07 -08:00
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
|
|
namespace tree_sitter {
|
|
|
|
|
namespace generate_code {
|
2014-03-27 12:54:54 -07:00
|
|
|
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);
|
2014-02-26 19:08:07 -08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2014-03-09 22:05:17 -07:00
|
|
|
#endif // COMPILER_GENERATE_CODE_HELPERS_H_
|