()
| 24 | return p.Left.String() + " | " + p.Right.String() |
| 25 | } |
| 26 | func (p *OrPattern) HasBindings() bool { |
| 27 | // Both sides must bind same variables (validated elsewhere) |
| 28 | return p.Left.HasBindings() || p.Right.HasBindings() |
| 29 | } |
| 30 | func (p *OrPattern) GetBindings() []Binding { |
| 31 | // Return bindings from left side (right must match) |
| 32 | return p.Left.GetBindings() |
nothing calls this directly
no test coverage detected