2014-03-27 12:54:54 -07:00
|
|
|
#ifndef COMPILER_UTIL_STRING_HELPERS_H_
|
|
|
|
|
#define COMPILER_UTIL_STRING_HELPERS_H_
|
|
|
|
|
|
|
|
|
|
#include <string>
|
2014-04-14 23:11:10 -07:00
|
|
|
#include <vector>
|
|
|
|
|
#include <set>
|
2014-03-27 12:54:54 -07:00
|
|
|
|
|
|
|
|
namespace tree_sitter {
|
|
|
|
|
namespace util {
|
|
|
|
|
void str_replace(std::string *input, const std::string &search, const std::string &replace);
|
|
|
|
|
std::string escape_string(std::string input);
|
2014-06-11 16:43:03 -07:00
|
|
|
std::string escape_char(char character);
|
2014-03-27 12:54:54 -07:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endif // COMPILER_UTIL_STRING_HELPERS_H_
|