()
| 154 | return "(" + strings.Join(parts, ", ") + ")" |
| 155 | } |
| 156 | func (p *TuplePattern) HasBindings() bool { |
| 157 | for _, elem := range p.Elements { |
| 158 | if elem.HasBindings() { |
| 159 | return true |
| 160 | } |
| 161 | } |
| 162 | return false |
| 163 | } |
| 164 | func (p *TuplePattern) GetBindings() []Binding { |
| 165 | var bindings []Binding |
| 166 | for i, elem := range p.Elements { |
nothing calls this directly
no test coverage detected