Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/hashicorp/hcl
/ Peek
Method
Peek
json/peeker.go:18–20 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
16
}
17
18
func
(p *peeker) Peek() token {
19
return
p.tokens[p.pos]
20
}
21
22
func
(p *peeker) Read() token {
23
ret := p.tokens[p.pos]
Callers
5
parseFileContent
Function · 0.45
parseExpression
Function · 0.45
parseValue
Function · 0.45
parseObject
Function · 0.45
parseArray
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected