Add --dot flag to parse subcommand, for printing tree as DOT graph
This commit is contained in:
parent
8389ffd2a1
commit
97fd990822
10 changed files with 106 additions and 43 deletions
|
|
@ -420,7 +420,7 @@ TSRange *ts_tree_get_changed_ranges(
|
|||
/**
|
||||
* Write a DOT graph describing the syntax tree to the given file.
|
||||
*/
|
||||
void ts_tree_print_dot_graph(const TSTree *, FILE *);
|
||||
void ts_tree_print_dot_graph(const TSTree *, int file_descriptor);
|
||||
|
||||
/******************/
|
||||
/* Section - Node */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue