MCPcopy
hub / github.com/hashicorp/hcl / Body

Method Body

hclwrite/ast.go:31–33  ·  view source on GitHub ↗

Body returns the root body of the file, which contains the top-level attributes and blocks.

()

Source from the content-addressed store, hash-verified

29// Body returns the root body of the file, which contains the top-level
30// attributes and blocks.
31func (f *File) Body() *Body {
32 return f.body.content.(*Body)
33}
34
35// WriteTo writes the tokens underlying the receiving file to the given writer.
36//

Calls

no outgoing calls