Sha256: 53d637439ad80ebb321d2d5669c9ca0ab8fa6a90af1405834a584b0d8bcc3903

Contents?: true

Size: 470 Bytes

Versions: 2

Compression:

Stored size: 470 Bytes

Contents

#ifndef COMPILER_UTIL_STRING_HELPERS_H_
#define COMPILER_UTIL_STRING_HELPERS_H_

#include <string>
#include <vector>
#include <set>

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);
std::string escape_char(uint32_t character);

}  // namespace util
}  // namespace tree_sitter

#endif  // COMPILER_UTIL_STRING_HELPERS_H_

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tree-sitter-0.1.0 ext/tree-sitter/tree-sitter/src/compiler/util/string_helpers.h
tree-sitter-0.0.1 ext/tree-sitter/tree-sitter/src/compiler/util/string_helpers.h