MCPcopy
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
18func (p *peeker) Peek() token {
19 return p.tokens[p.pos]
20}
21
22func (p *peeker) Read() token {
23 ret := p.tokens[p.pos]

Callers 5

parseFileContentFunction · 0.45
parseExpressionFunction · 0.45
parseValueFunction · 0.45
parseObjectFunction · 0.45
parseArrayFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected