MCPcopy
hub / github.com/MadAppGang/dingo / HasBindings

Method HasBindings

pkg/ast/match.go:156–163  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

HasBindingsMethod · 0.65

Tested by

no test coverage detected