Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/hashicorp/hcl
/ Peek
Method
Peek
hclsyntax/parser_template.go:348–350 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
346
}
347
348
func
(p *templateParser) Peek() templateToken {
349
return
p.Tokens[p.pos]
350
}
351
352
func
(p *templateParser) Read() templateToken {
353
ret := p.Peek()
Callers
6
parseRoot
Method · 0.95
parseExpr
Method · 0.95
parseIf
Method · 0.95
parseFor
Method · 0.95
Read
Method · 0.95
parseTemplateParts
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected