()
| 1293 | } |
| 1294 | |
| 1295 | func (e *ObjectConsKeyExpr) literalName() string { |
| 1296 | // This is our logic for deciding whether to behave like a literal string. |
| 1297 | // We lean on our AbsTraversalForExpr implementation here, which already |
| 1298 | // deals with some awkward cases like the expression being the result |
| 1299 | // of the keywords "null", "true" and "false" which we'd want to interpret |
| 1300 | // as keys here too. |
| 1301 | return hcl.ExprAsKeyword(e.Wrapped) |
| 1302 | } |
| 1303 | |
| 1304 | func (e *ObjectConsKeyExpr) walkChildNodes(w internalWalkFunc) { |
| 1305 | // We only treat our wrapped expression as a real expression if we're |
no outgoing calls
no test coverage detected