@@ -115,60 +115,4 @@ value it referred to previously.
115
115
Order of Precedence of Operators
116
116
--------------------------------
117
117
118
- The following is the order of precedence for operators, listed in order of evaluation.
119
-
120
- +------------+-------------------------------------+--------------------------------------------+
121
- | Precedence | Description | Operator |
122
- +============+=====================================+============================================+
123
- | *1 * | Postfix increment and decrement | ``++ ``, ``-- `` |
124
- + +-------------------------------------+--------------------------------------------+
125
- | | New expression | ``new <typename> `` |
126
- + +-------------------------------------+--------------------------------------------+
127
- | | Array subscripting | ``<array>[<index>] `` |
128
- + +-------------------------------------+--------------------------------------------+
129
- | | Member access | ``<object>.<member> `` |
130
- + +-------------------------------------+--------------------------------------------+
131
- | | Function-like call | ``<func>(<args...>) `` |
132
- + +-------------------------------------+--------------------------------------------+
133
- | | Parentheses | ``(<statement>) `` |
134
- +------------+-------------------------------------+--------------------------------------------+
135
- | *2 * | Prefix increment and decrement | ``++ ``, ``-- `` |
136
- + +-------------------------------------+--------------------------------------------+
137
- | | Unary minus | ``- `` |
138
- + +-------------------------------------+--------------------------------------------+
139
- | | Unary operations | ``delete `` |
140
- + +-------------------------------------+--------------------------------------------+
141
- | | Logical NOT | ``! `` |
142
- + +-------------------------------------+--------------------------------------------+
143
- | | Bitwise NOT | ``~ `` |
144
- +------------+-------------------------------------+--------------------------------------------+
145
- | *3 * | Exponentiation | ``** `` |
146
- +------------+-------------------------------------+--------------------------------------------+
147
- | *4 * | Multiplication, division and modulo | ``* ``, ``/ ``, ``% `` |
148
- +------------+-------------------------------------+--------------------------------------------+
149
- | *5 * | Addition and subtraction | ``+ ``, ``- `` |
150
- +------------+-------------------------------------+--------------------------------------------+
151
- | *6 * | Bitwise shift operators | ``<< ``, ``>> `` |
152
- +------------+-------------------------------------+--------------------------------------------+
153
- | *7 * | Bitwise AND | ``& `` |
154
- +------------+-------------------------------------+--------------------------------------------+
155
- | *8 * | Bitwise XOR | ``^ `` |
156
- +------------+-------------------------------------+--------------------------------------------+
157
- | *9 * | Bitwise OR | ``| `` |
158
- +------------+-------------------------------------+--------------------------------------------+
159
- | *10 * | Inequality operators | ``< ``, ``> ``, ``<= ``, ``>= `` |
160
- +------------+-------------------------------------+--------------------------------------------+
161
- | *11 * | Equality operators | ``== ``, ``!= `` |
162
- +------------+-------------------------------------+--------------------------------------------+
163
- | *12 * | Logical AND | ``&& `` |
164
- +------------+-------------------------------------+--------------------------------------------+
165
- | *13 * | Logical OR | ``|| `` |
166
- +------------+-------------------------------------+--------------------------------------------+
167
- | *14 * | Ternary operator | ``<conditional> ? <if-true> : <if-false> `` |
168
- + +-------------------------------------+--------------------------------------------+
169
- | | Assignment operators | ``= ``, ``|= ``, ``^= ``, ``&= ``, ``<<= ``, |
170
- | | | ``>>= ``, ``+= ``, ``-= ``, ``*= ``, ``/= ``, |
171
- | | | ``%= `` |
172
- +------------+-------------------------------------+--------------------------------------------+
173
- | *15 * | Comma operator | ``, `` |
174
- +------------+-------------------------------------+--------------------------------------------+
118
+ .. include :: types/operator-precedence-table.rst
0 commit comments