A BlockMapSpec is a Spec that produces a cty map of the results of decoding all of the nested blocks of a given type, using a nested spec. One level of map structure is created for each of the given label names. There must be at least one given label name.
| 872 | // One level of map structure is created for each of the given label names. |
| 873 | // There must be at least one given label name. |
| 874 | type BlockMapSpec struct { |
| 875 | TypeName string |
| 876 | LabelNames []string |
| 877 | Nested Spec |
| 878 | } |
| 879 | |
| 880 | func (s *BlockMapSpec) visitSameBodyChildren(cb visitFunc) { |
| 881 | // leaf node ("Nested" does not use the same body) |
nothing calls this directly
no outgoing calls
no test coverage detected