Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/hashicorp/hcl
/ newAttribute
Function
newAttribute
hclwrite/ast_attribute.go:19–23 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
17
}
18
19
func
newAttribute() *Attribute {
20
return
&Attribute{
21
inTree: newInTree(),
22
}
23
}
24
25
func
(a *Attribute) init(name string, expr *Expression) {
26
expr.assertUnattached()
Callers
3
SetAttributeRaw
Method · 0.85
SetAttributeValue
Method · 0.85
SetAttributeTraversal
Method · 0.85
Calls
1
newInTree
Function · 0.85
Tested by
no test coverage detected