hcl_edit

Module expr

Source
Expand description

Types to represent the HCL expression sub-language.

Structs§

  • Type representing a HCL array.
  • An operation that applies an operator to two expressions.
  • The conditional operator allows selecting from one of two expressions based on the outcome of a boolean expression.
  • A filter expression. Elements for which the condition evaluates to true will be evaluated as normal, while if false the element will be skipped.
  • A for expression is a construct for constructing a collection by projecting the items from another collection.
  • The for expression introduction, containing an optional key var, value var and the collection expression that is iterated.
  • Type representing the arguments of a function call.
  • Type representing a function call.
  • Type representing a (potentially namespaced) function name.
  • Represents a value that is null.
  • Type representing a HCL object.
  • Allows mutable access to the surrounding Decor of an ObjectKey but not to its value.
  • Represents an object value together with it’s assignment operator and value terminator.
  • Represents a sub-expression wrapped in parenthesis (( <expr> )).
  • Represents the splat operator (*) that is used within a AttrSplat or FullSplat.
  • Traverse an expression to access attributes, object keys or element indices.
  • An operation that applies an operator to one expression.

Enums§

Type Aliases§

  • An owning iterator over the values of an Array.
  • An iterator over the values of an Array.
  • A mutable iterator over the values of an Array.
  • An owning iterator over the entries of an Object.
  • An iterator over the entries of an Object.
  • A mutable iterator over the entries of an Object.