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

Struct ExprSpec

hcldec/spec.go:278–280  ·  view source on GitHub ↗

An ExprSpec is a Spec that evaluates the given expression, ignoring the given body.

Source from the content-addressed store, hash-verified

276// An ExprSpec is a Spec that evaluates the given expression, ignoring the
277// given body.
278type ExprSpec struct {
279 Expr hcl.Expression
280}
281
282func (s *ExprSpec) visitSameBodyChildren(cb visitFunc) {
283 // leaf node

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected