  | | | Operator precedence :: A proposal | Operator precedence :: A proposal 2004-03-13 - By Morten Barklund
Back All,
Just to close my speech (as I'm just talking to myself), I've come up with this list.
Yes, some are mentioned more times, but thats due to binary/unary or postfix/prefix and difference in associativity.
Operator | Precedence -- ---- ----+-- ---- --- . | 16 [] | 16 () | 15 function() | 15 new | 15 ++ | 14 -- | 14 ++ | 14 -- | 14 + | 14 - | 14 ~ | 14 ! | 14 delete | 14 typeof | 14 void | 14 * | 13 / | 13 % | 13 + | 12 - | 12 << | 11 >> | 11 >>> | 11 < | 10 <= | 10 > | 10 >= | 10 instanceof | 10 == | 9 != | 9 === | 9 !== | 9 & | 8 ^ | 7 | | 6 && | 5 || | 4 ?: | 3 = | 2 += | 2 -= | 2 *= | 2 /= | 2 %= | 2 <<= | 2 >>= | 2 >>>= | 2 &= | 2 ^= | 2 |= | 2 , | 1
Can we agree on this list?
And is it Flash MX 2004 ActionScript 1/2 complete with respect to all operators?
// Morten Barklund
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Supported by Fig Leaf Software =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Be sure to check the archives and the wiki: http://chattyfig.figleaf.com/ =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:106835 =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- To unsubscribe send a blank e-mail to: Normal Mode: flashcoders-unsubscribe@(protected) Digest Mode: flashcoders-digest-unsubscrive@(protected)
|
|
 |