Documentation ¶
Overview ¶
Package lets provides parsing and evaluation of lets blocks.
Index ¶
Constants ¶
View Source
const ( ErrEval errors.Kind = "lets eval" ErrRedefined errors.Kind = "lets redefined" )
Errors returned when parsing and evaluating lets.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Expr ¶
type Expr struct { // Origin contains the information where the expr is defined. Origin info.Range hhcl.Expression }
Expr is an unevaluated let expression.
type Map ¶
Map is an evaluated lets map.
func (Map) Attributes ¶
Attributes returns all the lets attributes, the key in the map is the attribute name with its corresponding value mapped
Click to show internal directories.
Click to hide internal directories.