Bindings to 'Tree-Sitter'


[Up] [Top]

Documentation for package ‘treesitter’ version 0.1.0

Help Pages

I L N P Q R T

-- I --

is_language Is 'x' a language?
is_node Is 'x' a node?
is_parser Is 'x' a parser?
is_point Points
is_query Is 'x' a query?
is_range Ranges
is_tree Is 'x' a tree?

-- L --

language_field_count Language field count
language_field_id_for_name Language field identifiers
language_field_name_for_id Language field names
language_name Language name
language_next_state Language state advancement
language_state_count Language state count
language_symbol_count Language symbol count
language_symbol_for_name Language symbols
language_symbol_name Language symbol names

-- N --

node-child Get a node's child by index
node-child-by-field Get a node's child by field id or name
node-child-count Get a node's child count
node-children Get a node's children
node-descendant Node descendants
node-first-child-byte Get the first child that extends beyond the given byte offset
node-grammar Node grammar types and symbols
node-location Node byte and point accessors
node-metadata Node metadata
node-parse-state Node parse states
node-sibling Node sibling accessors
node_child Get a node's child by index
node_children Get a node's children
node_child_by_field_id Get a node's child by field id or name
node_child_by_field_name Get a node's child by field id or name
node_child_count Get a node's child count
node_descendant_count Node descendant count
node_descendant_for_byte_range Node descendants
node_descendant_for_point_range Node descendants
node_end_byte Node byte and point accessors
node_end_point Node byte and point accessors
node_field_name_for_child Get a child's field name by index
node_first_child_for_byte Get the first child that extends beyond the given byte offset
node_first_named_child_for_byte Get the first child that extends beyond the given byte offset
node_grammar_symbol Node grammar types and symbols
node_grammar_type Node grammar types and symbols
node_has_error Node metadata
node_is_error Node metadata
node_is_extra Node metadata
node_is_missing Node metadata
node_is_named Node metadata
node_language Get a node's underlying language
node_named_child Get a node's child by index
node_named_children Get a node's children
node_named_child_count Get a node's child count
node_named_descendant_for_byte_range Node descendants
node_named_descendant_for_point_range Node descendants
node_next_named_sibling Node sibling accessors
node_next_parse_state Node parse states
node_next_sibling Node sibling accessors
node_parent Get a node's parent
node_parse_state Node parse states
node_previous_named_sibling Node sibling accessors
node_previous_sibling Node sibling accessors
node_range Node byte and point accessors
node_raw_s_expression "Raw" S-expression
node_show_s_expression Pretty print a 'node"s s-expression
node_start_byte Node byte and point accessors
node_start_point Node byte and point accessors
node_symbol Node symbol
node_text Get a node's underlying text
node_type Node type
node_walk Generate a 'TreeCursor' iterator

-- P --

parser Create a new parser
parser-adjustments Parser adjustments
parser-parse Parse or reparse text
parser_parse Parse or reparse text
parser_reparse Parse or reparse text
parser_set_included_ranges Parser adjustments
parser_set_language Parser adjustments
parser_set_timeout Parser adjustments
point Points
points Points
point_column Points
point_row Points

-- Q --

query Queries
query-accessors Query accessors
query-matches-and-captures Query matches and captures
query_captures Query matches and captures
query_capture_count Query accessors
query_matches Query matches and captures
query_pattern_count Query accessors
query_start_byte_for_pattern Query accessors
query_string_count Query accessors

-- R --

range Ranges
ranges Ranges
range_end_byte Ranges
range_end_point Ranges
range_start_byte Ranges
range_start_point Ranges

-- T --

text_parse Parse a snippet of text
tree-accessors Tree accessors
TreeCursor Tree cursors
tree_included_ranges Tree accessors
tree_language Tree accessors
tree_root_node Retrieve the root node of the tree
tree_root_node_with_offset Retrieve an offset root node
tree_text Tree accessors
tree_walk Generate a 'TreeCursor' iterator