aboutsummaryrefslogtreecommitdiff
path: root/mingling_pathf/src/patterns/chain.rs
diff options
context:
space:
mode:
Diffstat (limited to 'mingling_pathf/src/patterns/chain.rs')
-rw-r--r--mingling_pathf/src/patterns/chain.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/mingling_pathf/src/patterns/chain.rs b/mingling_pathf/src/patterns/chain.rs
index d64ed3b..6393440 100644
--- a/mingling_pathf/src/patterns/chain.rs
+++ b/mingling_pathf/src/patterns/chain.rs
@@ -1,3 +1,7 @@
+//! The `ChainPattern` matches functions annotated with `#[chain]` and
+//! extracts the generated internal struct name (e.g., `__internal_chain_<fn_name>`).
+//! This is used to track chained handler functions for code generation or analysis.
+
use syn::Item;
use crate::pattern_analyzer::{AnalyzeItem, AnalyzePattern};