""" Public-facing functions to interface with Tree-sitter, designed for use by other plugins. Example usage: `from sublime_tree_sitter import get_tree_dict` """ from TreeSitter.src.api import ( # type: ignore BreadcrumbDict, CaptureDict, InjectedNode, contains, format_breadcrumbs, get_ancestor, get_ancestors, get_captures_from_injections, get_captures_from_nodes, get_captures_from_nodes_with_language, get_cousins, get_descendant, get_larger_ancestor, get_node_spanning_region, get_query_s_from_file, get_region_from_node, get_scope_to_language_name, get_scope_to_queries_name, get_selected_nodes, get_sibling, get_size, get_tags_query_s, get_tracked_buffer_ids, get_tree_dict, get_tree_from_code, get_view_from_buffer_id, goto_capture_options, goto_captures, query_node_with_language, query_node_with_s, scroll_to_region, show_node_under_selection, walk_tree, ) from TreeSitter.src.core import TreeDict # type: ignore __all__ = [ "BreadcrumbDict", "CaptureDict", "InjectedNode", "TreeDict", "contains", "format_breadcrumbs", "get_ancestor", "get_ancestors", "get_captures_from_injections", "get_captures_from_nodes", "get_captures_from_nodes_with_language", "get_cousins", "get_descendant", "get_larger_ancestor", "get_node_spanning_region", "get_query_s_from_file", "get_region_from_node", "get_scope_to_language_name", "get_scope_to_queries_name", "get_selected_nodes", "get_sibling", "get_size", "get_tags_query_s", "get_tracked_buffer_ids", "get_tree_dict", "get_tree_from_code", "get_view_from_buffer_id", "goto_capture_options", "goto_captures", "query_node_with_language", "query_node_with_s", "scroll_to_region", "show_node_under_selection", "walk_tree", ]