2018-05-10 22:22:37 -07:00
|
|
|
#ifndef RUNTIME_TREE_H_
|
|
|
|
|
#define RUNTIME_TREE_H_
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
struct TSTree {
|
|
|
|
|
const Subtree *root;
|
|
|
|
|
const TSLanguage *language;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
TSTree *ts_tree_new(const Subtree *root, const TSLanguage *language);
|
2018-05-16 15:44:04 -07:00
|
|
|
TSNode ts_node_new(const TSTree *, const Subtree *, Length, TSSymbol);
|
2018-05-10 22:22:37 -07:00
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#endif // RUNTIME_TREE_H_
|