MCPcopy
hub / github.com/hashicorp/hcl / FunctionCallExpr

Struct FunctionCallExpr

hclsyntax/expression.go:202–213  ·  view source on GitHub ↗

FunctionCallExpr is an Expression that calls a function from the EvalContext and returns its result.

Source from the content-addressed store, hash-verified

200// FunctionCallExpr is an Expression that calls a function from the EvalContext
201// and returns its result.
202type 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
215func (e *FunctionCallExpr) walkChildNodes(w internalWalkFunc) {
216 for _, arg := range e.Args {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected