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

Method JustAttributes

ext/dynblock/expand_body.go:263–268  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

261}
262
263func (b *expandBody) JustAttributes() (hcl.Attributes, hcl.Diagnostics) {
264 // blocks aren't allowed in JustAttributes mode and this body can
265 // only produce blocks, so we'll just pass straight through to our
266 // underlying body here.
267 return b.original.JustAttributes()
268}
269
270func (b *expandBody) MissingItemRange() hcl.Range {
271 return b.original.MissingItemRange()

Callers

nothing calls this directly

Calls 1

JustAttributesMethod · 0.65

Tested by

no test coverage detected