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

Struct LiteralValueExpr

hclsyntax/expression.go:62–65  ·  hclsyntax/expression.go::LiteralValueExpr

LiteralValueExpr is an expression that just always returns a given value.

Source from the content-addressed store, hash-verified

60
61// LiteralValueExpr is an expression that just always returns a given value.
62type LiteralValueExpr struct {
63 Val cty.Value
64 SrcRange hcl.Range
65}
66
67func (e *LiteralValueExpr) walkChildNodes(w internalWalkFunc) {
68 // Literal values have no child nodes

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected