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

Method ParseExpression

hclsyntax/parser.go:478–480  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

476}
477
478func (p *parser) ParseExpression() (Expression, hcl.Diagnostics) {
479 return p.parseTernaryConditional()
480}
481
482func (p *parser) parseTernaryConditional() (Expression, hcl.Diagnostics) {
483 // The ternary conditional operator (.. ? .. : ..) behaves somewhat

Callers 10

parseTemplatePartsMethod · 0.95
parseExpressionTermMethod · 0.95
parseTupleConsMethod · 0.95
parseObjectConsMethod · 0.95
finishParsingForExprMethod · 0.95
ParseExpressionFunction · 0.95

Calls 1

Tested by

no test coverage detected