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

Method ExprMap

expr_map.go:19–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17func ExprMap(expr Expression) ([]KeyValuePair, Diagnostics) {
18 type exprMap interface {
19 ExprMap() []KeyValuePair
20 }
21
22 physExpr := UnwrapExpressionUntil(expr, func(expr Expression) bool {

Callers 5

ExprMapFunction · 0.65
TestMapStaticFunction · 0.65
getTypeFunction · 0.65
TestTerraformLikeFunction · 0.65
TestExprMapFunction · 0.65

Implementers 3

ObjectConsExprhclsyntax/expression.go
expressionjson/structure.go
mockExprLiteralhcltest/mock.go

Calls

no outgoing calls

Tested by 3

TestMapStaticFunction · 0.52
TestTerraformLikeFunction · 0.52
TestExprMapFunction · 0.52