FunctionCallExpr is an Expression that calls a function from the EvalContext and returns its result.
| 200 | // FunctionCallExpr is an Expression that calls a function from the EvalContext |
| 201 | // and returns its result. |
| 202 | type FunctionCallExpr struct { |
| 203 | Name string |
| 204 | Args []Expression |
| 205 | |
| 206 | // If true, the final argument should be a tuple, list or set which will |
| 207 | // expand to be one argument per element. |
| 208 | ExpandFinal bool |
| 209 | |
| 210 | NameRange hcl.Range |
| 211 | OpenParenRange hcl.Range |
| 212 | CloseParenRange hcl.Range |
| 213 | } |
| 214 | |
| 215 | func (e *FunctionCallExpr) walkChildNodes(w internalWalkFunc) { |
| 216 | for _, arg := range e.Args { |
nothing calls this directly
no outgoing calls
no test coverage detected