Access |
|
|
Scope |
a.b |
Access member b of object a . |
Index |
a[b] |
Access element b of object a . |
Reference |
&a |
Prevent resolution of object a . |
Dereference |
*a |
Force resolution of object a . |
--- |
--- |
--- |
Manipulation |
|
|
Duplication |
copy a |
Construct deep copy of object a . |
Conversion |
a as b |
Convert object a to type (or type of) b . |
--- |
--- |
--- |
Encoding |
|
|
Encode |
encode a |
Generate encoding sequence of object a . |
Decode |
decode s |
Construct object from encoding sequence s . |
--- |
--- |
--- |
Execution |
|
|
System Call |
call |
Invoke system call with no parameters. |
System Call |
call a |
Invoke system call with one parameter. |
System Call |
call (a, b) |
Invoke system call with multiple parameters. |
Call |
f(a, b) |
Invoke function call f with parameters a , b . |
--- |
--- |
--- |
Assignment |
|
|
Assignment |
a = b |
Move value of b into object a . |
--- |
--- |
--- |
Arithmetic |
|
|
Absolute Value |
+a |
Absolute value of numeric a . |
Negation |
-a |
Negated value of numeric a . |
Addition |
a + b |
Sum of numerics a and b . |
Subtraction |
a - b |
Difference of numerics a and b . |
Multiplication |
a * b |
Product of numerics a and b . |
Division |
a / b |
Quotient of numerics a and b . |
Modulo |
a % b |
Offset of numeric a to modulus b . |
--- |
--- |
--- |
Bitwise |
|
|
NOT |
~a |
Inverse of field a . |
AND |
a & b |
Intersection of field a . |
OR |
a | b |
Union of field a . |
XOR |
a ^ b |
Exclusion of field a . |
Shift High |
a << n |
Increase significance of field a by n bits. |
Shift Low |
a >> n |
Decrease significance of field a by n bits. |
--- |
--- |
--- |
Logic |
|
|
NOT |
!a |
Inverse of boolean a . |
AND |
a && b |
Short-circuiting intersection of booleans a and b . |
OR |
a || b |
Short-circuiting union of booleans a and b . |
--- |
--- |
--- |
Sets |
|
|
Concatenation |
a + b |
Appends set b to set a . |
--- |
--- |
--- |
Comparison |
|
|
Equality |
a == b |
Test a is equal to b . |
Inequality |
a != b |
Test a is not equal to b . |
Lesser |
a < b |
Test a is less than b . |
Lesser/Equal |
a <= b |
Test a is not greater than b . |
Greater |
a > b |
Test a is greater than b . |
Greater/Equal |
a >= b |
Test a is not less than b . |
Comparator |
a <> b |
Integer direction of b relative to a . |