MCPcopy
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
19func newAttribute() *Attribute {
20 return &Attribute{
21 inTree: newInTree(),
22 }
23}
24
25func (a *Attribute) init(name string, expr *Expression) {
26 expr.assertUnattached()

Callers 3

SetAttributeRawMethod · 0.85
SetAttributeValueMethod · 0.85
SetAttributeTraversalMethod · 0.85

Calls 1

newInTreeFunction · 0.85

Tested by

no test coverage detected