(ctx *hcl.EvalContext)
| 168 | } |
| 169 | |
| 170 | func (e *RelativeTraversalExpr) Value(ctx *hcl.EvalContext) (cty.Value, hcl.Diagnostics) { |
| 171 | src, diags := e.Source.Value(ctx) |
| 172 | ret, travDiags := e.Traversal.TraverseRel(src) |
| 173 | setDiagEvalContext(travDiags, e, ctx) |
| 174 | diags = append(diags, travDiags...) |
| 175 | return ret, diags |
| 176 | } |
| 177 | |
| 178 | func (e *RelativeTraversalExpr) Range() hcl.Range { |
| 179 | return e.SrcRange |
nothing calls this directly
no test coverage detected