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

Interface Interface

structure_at_pos.go:31–33  ·  structure_at_pos.go::Interface

Source from the content-addressed store, hash-verified

29 // The root body of the file must implement this interface in order
30 // to support BlocksAtPos.
31 type Interface interface {
32 BlocksAtPos(pos Pos) []*Block
33 }
34
35 impl, ok := f.Body.(Interface)
36 if !ok {

Callers 10

BlocksAtPosMethod · 0.65
TestBlocksAtPosFunction · 0.65
OutermostBlockAtPosMethod · 0.65
TestBlocksAtPosFunction · 0.65
InnermostBlockAtPosMethod · 0.65
TestBlocksAtPosFunction · 0.65
OutermostExprAtPosMethod · 0.65
TestOutermostExprAtPosFunction · 0.65
AttributeAtPosMethod · 0.65
TestAttributeAtPosFunction · 0.65

Implementers 2

Filestructure.go
Bodyhclsyntax/structure.go

Calls

no outgoing calls

Tested by

no test coverage detected