It seems weird that such a basic structure (binary tree) can't be represented sensible.
An alternative I considered would be to make an "action list" class which contains actions, and then I could have "if action" and "else action" properties. That would lead to something like:
action 1 of if actions of action 1 of macro "Whatever"
Another option is to duplicate the "action" class to "else action", and then I could have "actions" and "else actions" in the action class, but that seems pretty ugly.
Darn. I was hoping there was something I missed. I thought maybe I could use "list of actions" as a property type for example, but that doesn't seem to work. I saw in Matt Neuburg’s "AppleScript The Definitive Guide" "The AppleScript compiler does not enforce the distinction between a property and an element", but that doesn't seem to get me anywhere either.