- Added APIs to traverse the syntax tree:
tsc-traverse-do
,tsc-traverse-mapc
,tsc-traverse-iter
. The traversal is depth-first pre-order. - Improved syntax tree rendering's performance in
tree-sitter-debug
. - Added optional params
props
andoutput
totsc-current-node
, which allows retrieving node properties, instead of the node object itself. This enables performance optimizations in uses cases that deal with a large number of nodes.