* Create a new TreeCursor starting from this node. * * Note that the given node is considered the root of the cursor, * and the cursor cannot walk outside this node.
()
| 1117 | * and the cursor cannot walk outside this node. |
| 1118 | */ |
| 1119 | walk() { |
| 1120 | marshalNode(this); |
| 1121 | C._ts_tree_cursor_new_wasm(this.tree[0]); |
| 1122 | return new TreeCursor(INTERNAL, this.tree); |
| 1123 | } |
| 1124 | /** |
| 1125 | * Edit this node to keep it in-sync with source code that has been edited. |
| 1126 | * |