| 9 | ) |
| 10 | |
| 11 | type exprWrap struct { |
| 12 | hcl.Expression |
| 13 | i *iteration |
| 14 | |
| 15 | // resultMarks is a set of marks that must be applied to whatever |
| 16 | // value results from this expression. We do this whenever a |
| 17 | // dynamic block's for_each expression produced a marked result, |
| 18 | // since in that case any nested expressions inside are treated |
| 19 | // as being derived from that for_each expression. |
| 20 | // |
| 21 | // (calling applications might choose to reject marks by passing |
| 22 | // an [OptCheckForEach] to [Expand] and returning an error when |
| 23 | // marks are present, but this mechanism is here to help achieve |
| 24 | // reasonable behavior for situations where marks are permitted, |
| 25 | // which is the default.) |
| 26 | resultMarks cty.ValueMarks |
| 27 | } |
| 28 | |
| 29 | func (e exprWrap) Variables() []hcl.Traversal { |
| 30 | raw := e.Expression.Variables() |
nothing calls this directly
no outgoing calls
no test coverage detected