Add ts_node_edit API

This commit is contained in:
Max Brunsfeld 2018-07-11 16:17:46 -07:00
parent 308016b776
commit 9e8bec458d
6 changed files with 132 additions and 2 deletions

View file

@ -7,6 +7,7 @@
#include <map>
#include <unordered_set>
#include <vector>
#include "tree_sitter/runtime.h"
#include "compiler/grammar.h"
#include "compiler/prepare_grammar/interned_grammar.h"
#include "compiler/prepare_grammar/initial_syntax_grammar.h"
@ -91,6 +92,8 @@ inline std::ostream& operator<<(std::ostream &stream, const std::pair<T1, T2> &p
} // namespace std
std::ostream &operator<<(std::ostream &, const TSInputEdit &);
namespace tree_sitter {
using std::ostream;