A BlockListSpec is a Spec that produces a cty list of the results of decoding all of the nested blocks of a given type, using a nested spec.
| 423 | // A BlockListSpec is a Spec that produces a cty list of the results of |
| 424 | // decoding all of the nested blocks of a given type, using a nested spec. |
| 425 | type BlockListSpec struct { |
| 426 | TypeName string |
| 427 | Nested Spec |
| 428 | MinItems int |
| 429 | MaxItems int |
| 430 | } |
| 431 | |
| 432 | func (s *BlockListSpec) visitSameBodyChildren(cb visitFunc) { |
| 433 | // leaf node ("Nested" does not use the same body) |
nothing calls this directly
no outgoing calls
no test coverage detected