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

Struct mockExprLiteral

hcltest/mock.go:135–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135type mockExprLiteral struct {
136 V cty.Value
137}
138
139func (e mockExprLiteral) Value(ctx *hcl.EvalContext) (cty.Value, hcl.Diagnostics) {
140 return e.V, nil

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected