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

Method Value

hclsyntax/expression.go:27–27  ·  hclsyntax/expression.go::Expression.Value

The hcl.Expression methods are duplicated here, rather than simply embedded, because both Node and hcl.Expression have a Range method and so they conflict.

(ctx *hcl.EvalContext)

Source from the content-addressed store, hash-verified

25 // and so they conflict.
26
27 Value(ctx *hcl.EvalContext) (cty.Value, hcl.Diagnostics)
28 Variables() []hcl.Traversal
29 StartRange() hcl.Range
30}

Callers 15

TestDecodeBodyFunction · 0.65
DecodeExpressionFunction · 0.65
TestAllBoolExpressionsFunction · 0.65
ValueMethod · 0.65
ValueMethod · 0.65
ValueMethod · 0.65
ValueMethod · 0.65
ValueMethod · 0.65
ValueMethod · 0.65

Implementers 15

staticExprstatic_expr.go
fixedExpressiongohcl/decode_test.go
LiteralValueExprhclsyntax/expression.go
ScopeTraversalExprhclsyntax/expression.go
RelativeTraversalExprhclsyntax/expression.go
FunctionCallExprhclsyntax/expression.go
ConditionalExprhclsyntax/expression.go
IndexExprhclsyntax/expression.go
TupleConsExprhclsyntax/expression.go
ObjectConsExprhclsyntax/expression.go
ObjectConsKeyExprhclsyntax/expression.go
ForExprhclsyntax/expression.go

Calls

no outgoing calls

Tested by 15

TestDecodeBodyFunction · 0.52
TestAllBoolExpressionsFunction · 0.52
TestTupleStaticFunction · 0.52
TestMapStaticFunction · 0.52
TestRoundTripFormatFunction · 0.52