Tree-Sitter Parsing Tools


[Up] [Top]

Documentation for package ‘tsitter’ version 0.1.0

Help Pages

about About tsitter
as.character.ts_tree The document of a tree-sitter tree as a character scalar
as.raw.ts_tree Raw bytes of a document of a tree-sitter tree
format.ts_tree Format tree-sitter trees
print.ts_tree Print a tree-sitter tree
select-set Edit parts of a tree-sitter tree
ts_list_parsers List installed tree-sitter parsers
ts_tree_ast Show the annotated syntax tree of a tree-sitter tree
ts_tree_delete Delete selected elements from a tree-sitter tree
ts_tree_deleted Edit parts of a tree-sitter tree
ts_tree_dom Print the document object model (DOM) of a tree-sitter tree
ts_tree_format Format the selected elements of a tree sitter tree for printing
ts_tree_insert Insert a new element into a tree-sitter tree
ts_tree_mark_selection1 Helper function to decide which AST nodes to highlight for a selection (internal)
ts_tree_mark_selection1.ts_tree Helper function to decide which AST nodes to highlight for a selection (internal)
ts_tree_new Create tree-sitter tree from file or string
ts_tree_query Run tree-sitter queries on tree-sitter trees
ts_tree_select Select elements of a tree-sitter tree
ts_tree_select1 Select nodes from a tree-sitter tree (internal)
ts_tree_select1.ts_tree.character Select nodes from a tree-sitter tree (internal)
ts_tree_select1.ts_tree.integer Select nodes from a tree-sitter tree (internal)
ts_tree_select1.ts_tree.logical Select nodes from a tree-sitter tree (internal)
ts_tree_select1.ts_tree.NULL Select nodes from a tree-sitter tree (internal)
ts_tree_select1.ts_tree.numeric Select nodes from a tree-sitter tree (internal)
ts_tree_select1.ts_tree.ts_tree_selector_default Select nodes from a tree-sitter tree (internal)
ts_tree_select1.ts_tree.ts_tree_selector_ids Select nodes from a tree-sitter tree (internal)
ts_tree_select1.ts_tree.ts_tree_selector_regex Select nodes from a tree-sitter tree (internal)
ts_tree_select1.ts_tree.ts_tree_selector_tsquery Select nodes from a tree-sitter tree (internal)
ts_tree_select<- Edit parts of a tree-sitter tree
ts_tree_selected_nodes Helper functions for tree-sitter tree selections (internal)
ts_tree_selection Helper functions for tree-sitter tree selections (internal)
ts_tree_sexpr Show the syntax tree of a tree-sitter tree
ts_tree_unserialize Unserialize selected elements of a tree-sitter tree
ts_tree_update Replace selected elements with a new element in a tree-sitter tree
ts_tree_write Write a tree-sitter tree to a file
[.ts_tree Convert ts_tree object to a data frame
[[.ts_tree Unserialize parts of a tree-sitter tree
[[<-.ts_tree Edit parts of a tree-sitter tree