Home
last modified time | relevance | path

Searched refs:byte_to_code_unit (Results 1 – 1 of 1) sorted by relevance

/dports/devel/tree-sitter/tree-sitter-0.20.1/lib/binding_web/
H A Dbinding.c29 static uint32_t byte_to_code_unit(uint32_t byte) { in byte_to_code_unit() function
35 buffer[1] = (const void *)byte_to_code_unit(node.context[0]); in marshal_node()
37 buffer[3] = (const void *)byte_to_code_unit(node.context[2]); in marshal_node()
80 range->start_byte = byte_to_code_unit(range->start_byte); in marshal_range()
81 range->end_byte = byte_to_code_unit(range->end_byte); in marshal_range()
131 byte_to_code_unit(byte), in call_parse_callback()
133 byte_to_code_unit(position.column), in call_parse_callback()
306 return byte_to_code_unit(ts_node_start_byte(node)); in ts_tree_cursor_start_index_wasm()
312 return byte_to_code_unit(ts_node_end_byte(node)); in ts_tree_cursor_end_index_wasm()
431 return byte_to_code_unit(ts_node_start_byte(node)); in ts_node_start_index_wasm()
[all …]