// =============================================================================
// Copyright (c) 2026 Haixing Hu.
//
// SPDX-License-Identifier: Apache-2.0
//
// Licensed under the Apache License, Version 2.0.
// =============================================================================
//! Defines the location of a JSON tree node within its parent.
/// Identifies a materialized JSON node without exposing a domain path model.
///
/// # Examples
///
/// ```
/// use qubit_json::value::traverse::JsonTreeLocation;
///
/// let location = JsonTreeLocation::ArrayElement { index: 2 };
/// assert_eq!(location, JsonTreeLocation::ArrayElement { index: 2 });
/// ```