Remove document parameter from ts_node_type, ts_node_string
Co-Authored-By: Rick Winfrey <rewinfrey@github.com>
This commit is contained in:
parent
92255bbfdd
commit
666dfb76d2
9 changed files with 339 additions and 53 deletions
|
|
@ -3,15 +3,15 @@
|
|||
|
||||
#include "runtime/parser.h"
|
||||
#include "runtime/tree.h"
|
||||
#include "runtime/get_changed_ranges.h"
|
||||
#include "runtime/tree_cursor.h"
|
||||
#include <stdbool.h>
|
||||
|
||||
struct TSDocument {
|
||||
Parser parser;
|
||||
TSInput input;
|
||||
Tree *tree;
|
||||
TreePath tree_path1;
|
||||
TreePath tree_path2;
|
||||
TSTreeCursor cursor1;
|
||||
TSTreeCursor cursor2;
|
||||
size_t parse_count;
|
||||
bool valid;
|
||||
bool owns_input;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue