aboutsummaryrefslogtreecommitdiffstats
path: root/executor
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2023-12-05 14:46:00 +0100
committerAleksandr Nogikh <nogikh@google.com>2024-02-19 11:54:01 +0000
commited571339c6ff5ed764283737a0aa68451085e84d (patch)
treef809f9dcd1782d7b281d2bb6b60fb3be5fa8704f /executor
parente59ec59b027f921a6bfbe5014b15c2a802445ada (diff)
pkg/compiler: support if[expr] attributes
The expression may either include integers/consts or reference other fields in the structure via value[field1:field2:field3]. The fields on this path must all belong to structures and must not have any if conditions themselves. For unions, mandate that the last field has no conditions (it will be the default one). For structs, convert conditional fields into fields of a union type of the following form: anonymous_union [ value T (if[expression]) void void ]
Diffstat (limited to 'executor')
0 files changed, 0 insertions, 0 deletions