Structural expressions are a compact notation for combining structural operations that go together. A structural expression results in a variable.
The operations that can be combined are the structural operations.
Order of operations
.
(structural accessor),[]
(array accessor)
Example
The T-Table of
a.b.c[d.e]
is
Expression | Operation |
---|---|
a.b.c[d.e] |
|
t1.c[d.e] |
t1 = a.b |
t2[d.e] |
t2 = t1.c |
t2[t3] |
t3 = d.e |
t4 |
t4 = t2[t3] |
The T-Form is
t1 = a.b
t2 = t1.c
t3 = d.e
t4 = t2[t3]
For more information about T-Tables and T-Forms, see T-Tables.