A BlockTupleSpec is a Spec that produces a cty tuple of the results of decoding all of the nested blocks of a given type, using a nested spec. This is similar to BlockListSpec, but it permits the nested blocks to have different result types in situations where cty.DynamicPseudoType attributes are p
| 586 | // different result types in situations where cty.DynamicPseudoType attributes |
| 587 | // are present. |
| 588 | type BlockTupleSpec struct { |
| 589 | TypeName string |
| 590 | Nested Spec |
| 591 | MinItems int |
| 592 | MaxItems int |
| 593 | } |
| 594 | |
| 595 | func (s *BlockTupleSpec) visitSameBodyChildren(cb visitFunc) { |
| 596 | // leaf node ("Nested" does not use the same body) |
nothing calls this directly
no outgoing calls
no test coverage detected