Expand description
Types to represent the HCL expression sub-language.
Structs§
- Array
- Type representing a HCL array.
- Binary
Op - An operation that applies an operator to two expressions.
- Conditional
- The conditional operator allows selecting from one of two expressions based on the outcome of a boolean expression.
- ForCond
- A filter expression. Elements for which the condition evaluates to
true
will be evaluated as normal, while iffalse
the element will be skipped. - ForExpr
- A for expression is a construct for constructing a collection by projecting the items from another collection.
- ForIntro
- The
for
expression introduction, containing an optional key var, value var and the collection expression that is iterated. - Func
Args - Type representing the arguments of a function call.
- Func
Call - Type representing a function call.
- Func
Name - Type representing a (potentially namespaced) function name.
- Null
- Represents a value that is
null
. - Object
- Type representing a HCL object.
- Object
KeyMut - Allows mutable access to the surrounding
Decor
of anObjectKey
but not to its value. - Object
Value - Represents an object value together with it’s assignment operator and value terminator.
- Parenthesis
- Represents a sub-expression wrapped in parenthesis (
( <expr> )
). - Splat
- Represents the splat operator (
*
) that is used within aAttrSplat
orFullSplat
. - Traversal
- Traverse an expression to access attributes, object keys or element indices.
- UnaryOp
- An operation that applies an operator to one expression.
Enums§
- Binary
Operator - An operator that can be applied to two expressions.
- Expression
- A type representing any expression from the expression sub-language.
- Object
Key - Represents an object key.
- Object
Value Assignment - Represents the assignment operator between an object key and its value.
- Object
Value Terminator - Represents the character that terminates an object value.
- Traversal
Operator - The expression traversal operators that are supported by HCL.
- Unary
Operator - An operator that can be applied to an expression.
Type Aliases§
- Into
Iter - An owning iterator over the values of an
Array
. - Iter
- An iterator over the values of an
Array
. - IterMut
- A mutable iterator over the values of an
Array
. - Object
Into Iter - An owning iterator over the entries of an
Object
. - Object
Iter - An iterator over the entries of an
Object
. - Object
Iter Mut - A mutable iterator over the entries of an
Object
.