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

Method NextRange

hclsyntax/peeker.go:61–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

59}
60
61func (p *peeker) NextRange() hcl.Range {
62 return p.Peek().Range
63}
64
65func (p *peeker) PrevRange() hcl.Range {
66 if p.NextIndex == 0 {

Callers 5

PrevRangeMethod · 0.95
parseTemplatePartsMethod · 0.80
ParseBodyMethod · 0.80

Calls 1

PeekMethod · 0.95

Tested by

no test coverage detected