Skip to main content

backhopper_xref_reader/
macros.rs

1// Copyright (C) 2026 Michael S. Klishin and Contributors
2// SPDX-License-Identifier: Apache-2.0 OR MIT
3// See LICENSE-APACHE and LICENSE-MIT for details.
4
5//! `-define` table and macro-body expansion helpers.
6//!
7//! Re-exports from `backhopper_core::erlang_macros` so the same macro
8//! representation is shared between the xref reader and the compat
9//! analyzer.
10
11pub use backhopper_core::erlang_macros::{
12    MacroKey, MacroTable, expand_value_macro_to_atom, expand_value_macro_to_mf, parse_define,
13};