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

Method Variables

hcltest/mock.go:320–326  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

318}
319
320func (e mockExprList) Variables() []hcl.Traversal {
321 var traversals []hcl.Traversal
322 for _, expr := range e.Exprs {
323 traversals = append(traversals, expr.Variables()...)
324 }
325 return traversals
326}
327
328func (e mockExprList) Range() hcl.Range {
329 return hcl.Range{

Callers

nothing calls this directly

Calls 1

VariablesMethod · 0.65

Tested by

no test coverage detected