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

Function newNode

hclwrite/node.go:20–24  ·  view source on GitHub ↗
(c nodeContent)

Source from the content-addressed store, hash-verified

18}
19
20func newNode(c nodeContent) *node {
21 return &node{
22 content: c,
23 }
24}
25
26func (n *node) Equal(other *node) bool {
27 return cmp.Equal(n.content, other.content)

Callers 9

ReplaceWithMethod · 0.85
parseBodyFunction · 0.85
parseAttributeFunction · 0.85
parseBlockFunction · 0.85
parseBlockLabelsFunction · 0.85
parseExpressionFunction · 0.85
parseTraversalFunction · 0.85
parseTraversalStepFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected