A BlockObjectSpec is a Spec that produces a cty object of the results of decoding all of the nested blocks of a given type, using a nested spec. One level of object structure is created for each of the given label names. There must be at least one given label name. This is similar to BlockMapSpec,
| 1030 | // different result types in situations where cty.DynamicPseudoType attributes |
| 1031 | // are present. |
| 1032 | type BlockObjectSpec struct { |
| 1033 | TypeName string |
| 1034 | LabelNames []string |
| 1035 | Nested Spec |
| 1036 | } |
| 1037 | |
| 1038 | func (s *BlockObjectSpec) visitSameBodyChildren(cb visitFunc) { |
| 1039 | // leaf node ("Nested" does not use the same body) |
nothing calls this directly
no outgoing calls
no test coverage detected