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

Method Value

hcltest/mock.go:273–275  ·  view source on GitHub ↗
(ctx *hcl.EvalContext)

Source from the content-addressed store, hash-verified

271}
272
273func (e mockExprTraversal) Value(ctx *hcl.EvalContext) (cty.Value, hcl.Diagnostics) {
274 return e.Traversal.TraverseAbs(ctx)
275}
276
277func (e mockExprTraversal) Variables() []hcl.Traversal {
278 return []hcl.Traversal{e.Traversal}

Callers

nothing calls this directly

Calls 1

TraverseAbsMethod · 0.45

Tested by

no test coverage detected