Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/hashicorp/hcl
/ newBody
Function
newBody
hclwrite/ast_body.go:20–25 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
18
}
19
20
func
newBody() *Body {
21
return
&Body{
22
inTree: newInTree(),
23
items: newNodeSet(),
24
}
25
}
26
27
func
(b *Body) appendItem(c nodeContent) *node {
28
nn := b.children.Append(c)
Callers
2
init
Method · 0.85
NewEmptyFile
Function · 0.85
Calls
2
newInTree
Function · 0.85
newNodeSet
Function · 0.85
Tested by
no test coverage detected