Operator precedence: Difference between revisions
Content added Content deleted
(Update Lang example: Add the optional member access operator) |
(Update Lang example: Add the optional get item operator) |
||
Line 1,641: | Line 1,641: | ||
# | opr1(opr2) | left-to-right | Function calls |
# | opr1(opr2) | left-to-right | Function calls |
||
# | opr1[opr2] | left-to-right | Get item |
# | opr1[opr2] | left-to-right | Get item |
||
# | opr1?.[opr2] | left-to-right | Optional get item |
|||
# | opr1::opr2 | left-to-right | Member access [1] |
# | opr1::opr2 | left-to-right | Member access [1] |
||
# | opr1?::opr2 | left-to-right | Optional member access [1] |
# | opr1?::opr2 | left-to-right | Optional member access [1] |