unknownBody is a funny body that just reports everything inside it as unknown. It uses a given other body as a sort of template for what attributes and blocks are inside -- including source location information -- but subsitutes unknown values of unknown type for all attributes. This rather odd pro
| 19 | // we instead arrange for everything _inside_ the block to be unknown instead, |
| 20 | // to give the best possible approximation. |
| 21 | type unknownBody struct { |
| 22 | template hcl.Body |
| 23 | valueMarks cty.ValueMarks |
| 24 | } |
| 25 | |
| 26 | var _ hcl.Body = unknownBody{} |
| 27 |
nothing calls this directly
no outgoing calls
no test coverage detected