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

Method HasBindings

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

Source from the content-addressed store, hash-verified

112 return p.Name + "(" + strings.Join(parts, ", ") + ")"
113}
114func (p *ConstructorPattern) HasBindings() bool {
115 for _, param := range p.Params {
116 if param.HasBindings() {
117 return true
118 }
119 }
120 return false
121}
122func (p *ConstructorPattern) GetBindings() []Binding {
123 var bindings []Binding
124 for i, param := range p.Params {

Callers

nothing calls this directly

Calls 1

HasBindingsMethod · 0.65

Tested by

no test coverage detected