(w internalWalkFunc)
| 1302 | } |
| 1303 | |
| 1304 | func (e *ObjectConsKeyExpr) walkChildNodes(w internalWalkFunc) { |
| 1305 | // We only treat our wrapped expression as a real expression if we're |
| 1306 | // not going to interpret it as a literal. |
| 1307 | if e.literalName() == "" { |
| 1308 | w(e.Wrapped) |
| 1309 | } |
| 1310 | } |
| 1311 | |
| 1312 | func (e *ObjectConsKeyExpr) Value(ctx *hcl.EvalContext) (cty.Value, hcl.Diagnostics) { |
| 1313 | // Because we accept a naked identifier as a literal key rather than a |
nothing calls this directly
no test coverage detected