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