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

Struct ParenthesesExpr

hclsyntax/expression.go:43–46  ·  view source on GitHub ↗

ParenthesesExpr represents an expression written in grouping parentheses. The parser takes care of the precedence effect of the parentheses, so the only purpose of this separate expression node is to capture the source range of the parentheses themselves, rather than the source range of the express

Source from the content-addressed store, hash-verified

41// expression within. All of the other expression operations just pass through
42// to the underlying expression.
43type ParenthesesExpr struct {
44 Expression
45 SrcRange hcl.Range
46}
47
48var _ hcl.Expression = (*ParenthesesExpr)(nil)
49

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected