Sign in

    mizchi/crater-aomx/diff does not have a README file

    ChangeType

    pub(all) enum ChangeType {
    Added
    Removed
    Moved
    Resized
    RoleChanged
    NameChanged
    StateChanged
    VisibilityChanged
    }

    Type of change detected

    DiffConfig

    pub(all) struct DiffConfig {
    position_threshold : Double
    size_threshold : Double
    ignore_invisible : Bool
    ignore_anonymous_generic : Bool
    }

    Configuration for diff sensitivity

    DiffConfig::default

    fn DiffConfig::default() -> DiffConfig

    DiffConfig::strict

    fn DiffConfig::strict() -> DiffConfig

    DiffResult

    pub(all) struct DiffResult {
    differences : Array[Difference]
    added_count : Int
    removed_count : Int
    changed_count : Int
    similarity : Double
    }

    Complete diff result

    DiffResult::to_json

    fn DiffResult::to_json(self : DiffResult) -> String

    DiffResult::to_summary

    fn DiffResult::to_summary(self : DiffResult) -> String

    Difference

    pub(all) struct Difference {
    change_type : ChangeType
    path : String
    element_id : String
    description : String
    severity : Int
    }

    A single difference between two trees

    Difference::to_string

    fn Difference::to_string(self : Difference) -> String

    diff_summary

    Get a summary of differences

    diff_trees

    Compare two accessibility trees and return differences

    trees_equal

    Quick check if two trees are structurally equivalent

    Source Files

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io