Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
61
func
(p *peeker) NextRange() hcl.Range {
62
return
p.Peek().Range
63
}
64
65
func
(p *peeker) PrevRange() hcl.Range {
66
if
p.NextIndex == 0 {
Callers
5
PrevRange
Method · 0.95
parseTemplateParts
Method · 0.80
ParseBody
Method · 0.80
parseTernaryConditional
Method · 0.80
parseExpressionTraversals
Method · 0.80
Calls
1
Peek
Method · 0.95
Tested by
no test coverage detected