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

Method HasBindings

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

Source from the content-addressed store, hash-verified

161 return p.Field
162}
163func (p *StructFieldPattern) HasBindings() bool {
164 if p.Pattern != nil {
165 return p.Pattern.HasBindings()
166 }
167 return true // Shorthand always binds
168}
169func (p *StructFieldPattern) GetBindings() []Binding {
170 if p.Pattern != nil {
171 return p.Pattern.GetBindings()

Callers

nothing calls this directly

Calls 1

HasBindingsMethod · 0.65

Tested by

no test coverage detected