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

Struct LiteralSpec

hcldec/spec.go:252–254  ·  view source on GitHub ↗

A LiteralSpec is a Spec that produces the given literal value, ignoring the given body.

Source from the content-addressed store, hash-verified

250// A LiteralSpec is a Spec that produces the given literal value, ignoring
251// the given body.
252type LiteralSpec struct {
253 Value cty.Value
254}
255
256func (s *LiteralSpec) visitSameBodyChildren(cb visitFunc) {
257 // leaf node

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected