1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
//! Pattern matching infrastructure for UOp graphs.
//!
//! This module provides pattern matching using `SimplifiedPatternMatcher`, which
//! uses closures that do inline Rust pattern matching. The `patterns!` macro
//! generates closures with native `match` expressions for O(1) OpKey dispatch.
use crateUOp;
use Arc;
// =============================================================================
// RewriteResult - Result of pattern matching
// =============================================================================
/// Result of applying a pattern rewrite.
// =============================================================================
// Pattern Exports
// =============================================================================
pub use ;
pub use ;
/// Type alias for backwards compatibility.
pub type TypedPatternMatcher<C = > = ;
// =============================================================================
// Matcher Trait - Unified interface for pattern matchers
// =============================================================================
/// Trait for pattern matchers used by the rewrite engine.
///
/// This trait provides a unified interface for pattern matching,
/// allowing the rewrite engine to work with different matcher implementations.