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

Method ParseTemplate

hclsyntax/parser_template.go:16–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14)
15
16func (p *parser) ParseTemplate() (Expression, hcl.Diagnostics) {
17 return p.parseTemplate(TokenEOF, false)
18}
19
20func (p *parser) parseTemplate(end TokenType, flushHeredoc bool) (Expression, hcl.Diagnostics) {
21 exprs, passthru, rng, diags := p.parseTemplateInner(end, flushHeredoc)

Callers 1

ParseTemplateFunction · 0.95

Calls 1

parseTemplateMethod · 0.95

Tested by

no test coverage detected