An AttrSpec is a Spec that evaluates a particular attribute expression in the body and returns its resulting value converted to the requested type, or produces a diagnostic if the type is incorrect.
| 163 | // the body and returns its resulting value converted to the requested type, |
| 164 | // or produces a diagnostic if the type is incorrect. |
| 165 | type AttrSpec struct { |
| 166 | Name string |
| 167 | Type cty.Type |
| 168 | Required bool |
| 169 | } |
| 170 | |
| 171 | func (s *AttrSpec) visitSameBodyChildren(cb visitFunc) { |
| 172 | // leaf node |
nothing calls this directly
no outgoing calls
no test coverage detected