diff --git a/language/operators.xml b/language/operators.xml index 75da567c3e..ea6544106d 100644 --- a/language/operators.xml +++ b/language/operators.xml @@ -79,108 +79,144 @@ non-associative - clone new + + clone + new + clone and new left - [ + [ array right - ++, --, ~, (int), (float), (string), (array), (object), (bool), and @ + + ++ + -- + ~ + (int) + (float) + (string) + (array) + (object) + (bool) + @ + types and increment/decrement non-associative - instanceof + instanceof types right - ! + ! logical left - *, /, and % + + * + / + % + arithmetic left - +, -, and . + + + + - + . + arithmetic&listendand; string left - << and >> + + << + >> + bitwise non-associative - <, <=, >, and >= + + < + <= + > + >= + comparison non-associative - ==, !=, ===, !==, and <> + + == + != + === + !== + <> + comparison left - & + & bitwise&listendand; references left - ^ + ^ bitwise left - | + | bitwise left - && + && logical left - || + || logical left - ? : + ? : ternary @@ -188,7 +224,19 @@ right - =, +=, -=, *=, /=, .=, %=, &=, |=, ^=, <<=, >>=, and => + = + += + -= + *= + /= + .= + %= + &= + |= + ^= + <<= + >>= + => assignment @@ -196,28 +244,28 @@ left - and + and logical left - xor + xor logical left - or + or logical left - , + , many uses