class
StructuredAssignmentPatternExpressionRepresents a structured assignment pattern expression.
Base classes
- class AssignmentPatternExpressionBase
- Base class for assignment pattern expressions.
Public types
- struct IndexSetter
- A setter for a specific array index.
- struct MemberSetter
- A setter for a specific type member.
- struct TypeSetter
- A setter for a specific type.
Public variables
-
std::
span<const MemberSetter> memberSetters - A list of members to set.
-
std::
span<const TypeSetter> typeSetters - A list of types to match against and set.
-
std::
span<const IndexSetter> indexSetters - A list of specific array elements to set.
- const Expression* defaultSetter
- An optional default setter to apply for elements that don't match a more specific setter.