Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
20
func
newNode(c nodeContent) *node {
21
return
&node{
22
content: c,
23
}
24
}
25
26
func
(n *node) Equal(other *node) bool {
27
return
cmp.Equal(n.content, other.content)
Callers
9
ReplaceWith
Method · 0.85
AppendUnstructuredTokens
Method · 0.85
parseBody
Function · 0.85
parseAttribute
Function · 0.85
parseBlock
Function · 0.85
parseBlockLabels
Function · 0.85
parseExpression
Function · 0.85
parseTraversal
Function · 0.85
parseTraversalStep
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected