Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/hashicorp/hcl
/ Equal
Method
Equal
hclwrite/node.go:26–28 ·
view source on GitHub ↗
(other *node)
Source
from the content-addressed store, hash-verified
24
}
25
26
func
(n *node) Equal(other *node) bool {
27
return
cmp.Equal(n.content, other.content)
28
}
29
30
func
(n *node) BuildTokens(to Tokens) Tokens {
31
return
n.content.BuildTokens(to)
Callers
15
scanTokens
Function · 0.80
TestWalk
Function · 0.80
TestParseTraversalAbs
Function · 0.80
TokenMatches
Method · 0.80
TestTraversalStatic
Function · 0.80
TestTupleStatic
Function · 0.80
TestMapStatic
Function · 0.80
TestParse
Function · 0.80
TestRoundTripVerbatim
Function · 0.80
TestTokensForValue
Function · 0.80
TestTokensForTraversal
Function · 0.80
TestTokensForTuple
Function · 0.80
Calls
no outgoing calls
Tested by
15
TestWalk
Function · 0.64
TestParseTraversalAbs
Function · 0.64
TestTraversalStatic
Function · 0.64
TestTupleStatic
Function · 0.64
TestMapStatic
Function · 0.64
TestParse
Function · 0.64
TestRoundTripVerbatim
Function · 0.64
TestTokensForValue
Function · 0.64
TestTokensForTraversal
Function · 0.64
TestTokensForTuple
Function · 0.64
TestTokensForObject
Function · 0.64
TestTokensForFunctionCall
Function · 0.64