Skip to content

armgit / moli

Public Imported from GitHub
0

Best headless browser for AI agents. Lite, Fast, High-Compatibility. Built in Rust

1.6 KB
Raw Blame
use super::range::{
    RangeBoundarySide, child_index, current_document_object, new_range_for_document,
    range_boundary_container_object, range_boundary_offset, range_is_collapsed, range_node_length,
    range_validate_boundary_point,
};
use super::range_algorithms::range_delete_contents;
use super::selection::{
    boundary_order, selection_anchor_node, selection_anchor_offset, selection_clear,
    selection_composed_boundary_order, selection_composed_end_node, selection_composed_end_offset,
    selection_composed_start_node, selection_composed_start_offset, selection_direction,
    selection_dispatch_change, selection_focus_node, selection_focus_offset, selection_has_range,
    selection_is_collapsed_internal, selection_owner_document, selection_range,
    selection_set_collapsed, selection_store, selection_store_with_composed_boundaries,
};
use super::selection_modify::selection_modify_target;
use super::*;

mod accessors;
mod collapse;
mod edit;
mod ranges;

pub(super) use accessors::selection_attribute_getter_callback;
pub(super) use collapse::{
    selection_collapse_callback, selection_collapse_to_end_callback,
    selection_collapse_to_start_callback, selection_extend_callback,
    selection_select_all_children_callback, selection_set_base_and_extent_callback,
    selection_set_position_callback,
};
pub(super) use edit::{selection_delete_from_document_callback, selection_modify_callback};
pub(super) use ranges::{
    selection_add_range_callback, selection_contains_node_callback,
    selection_get_composed_ranges_callback, selection_get_range_at_callback,
    selection_remove_all_ranges_callback, selection_remove_range_callback,
};