Module pattern

Module pattern 

Source
Expand description

Pattern Matching with Variable Binding (P3 Feature - Advanced)

This module implements Drools-style pattern matching with:

  • Variable binding ($var)
  • Multi-object patterns
  • Join conditions between patterns
  • Field constraints with variables

Structs§

MultiPattern
Multi-pattern rule with joins
Pattern
A pattern matches facts of a specific type with constraints
PatternBuilder
Pattern builder for easier construction (Drools-style DSL)

Enums§

PatternConstraint
Pattern constraint with optional variable binding

Type Aliases§

Variable
Variable name (e.g., “$name”, “$age”)