Contents

makeExpression()

Creates an expression that represents this optional intent value.

Declaration

func makeExpression() -> IntentValueExpression

Return Value

An intent value expression representing this optional value.

Discussion

This method handles both the .some and .none cases:

  • For .none, it creates a pending expression that will resolve to a null value

  • For .some, it delegates to the wrapped value’s expression creation