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

Method Add

hclwrite/node.go:205–207  ·  view source on GitHub ↗
(n *node)

Source from the content-addressed store, hash-verified

203}
204
205func (ns nodeSet) Add(n *node) {
206 ns[n] = struct{}{}
207}
208
209func (ns nodeSet) Remove(n *node) {
210 delete(ns, n)

Callers 7

ReplaceMethod · 0.80
parseBlockLabelsFunction · 0.80
parseExpressionFunction · 0.80
parseTraversalFunction · 0.80
appendItemMethod · 0.80
appendItemNodeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected