diff --git a/docs/design/expressions/README.md b/docs/design/expressions/README.md index 4e901f661701..10a49f3c6021 100644 --- a/docs/design/expressions/README.md +++ b/docs/design/expressions/README.md @@ -64,11 +64,11 @@ graph BT top((" ")) - suffixOps{"x.y
- x.(...)
- x->y
- x->(...)
- x(...)
+ suffixOps{"x.y + x.(...) + x->y + x->(...) + x(...) x[y]"} click suffixOps "https://github.com/carbon-language/carbon-lang/blob/trunk/docs/design/expressions/README.md#suffix-operators" @@ -78,8 +78,8 @@ graph BT pointerType{"T*"} click pointer-type "https://github.com/carbon-language/carbon-lang/blob/trunk/docs/design/expressions/type_operators.md" - pointer{"*x
- &x
"} + pointer{"*x + &x"} click pointer "https://github.com/carbon-language/carbon-lang/blob/trunk/docs/design/expressions/pointer.md" negation["-x"] @@ -88,7 +88,8 @@ graph BT complement["^x"] click complement "https://github.com/carbon-language/carbon-lang/blob/trunk/docs/design/expressions/bitwise.md" - incDec["++x;
--x;"] + incDec["++x; + --x;"] click incDec "https://github.com/carbon-language/carbon-lang/blob/trunk/docs/design/assignment.md" unary((" ")) @@ -96,11 +97,11 @@ graph BT as["x as T"] click as "https://github.com/carbon-language/carbon-lang/blob/trunk/docs/design/expressions/implicit_conversions.md" - multiplication>"x * y
+ multiplication>"x * y x / y"] click multiplication "https://github.com/carbon-language/carbon-lang/blob/trunk/docs/design/expressions/arithmetic.md" - addition>"x + y
+ addition>"x + y x - y"] click addition "https://github.com/carbon-language/carbon-lang/blob/trunk/docs/design/expressions/arithmetic.md" @@ -114,7 +115,7 @@ graph BT click bitwise_or "https://github.com/carbon-language/carbon-lang/blob/trunk/docs/design/expressions/bitwise.md" click bitwise_xor "https://github.com/carbon-language/carbon-lang/blob/trunk/docs/design/expressions/bitwise.md" - shift["x << y
+ shift["x << y x >> y"] click shift "https://github.com/carbon-language/carbon-lang/blob/trunk/docs/design/expressions/bitwise.md" @@ -122,11 +123,11 @@ graph BT where["T where R"] - comparison["x == y
- x != y
- x < y
- x <= y
- x > y
+ comparison["x == y + x != y + x < y + x <= y + x > y x >= y"] click comparison "https://github.com/carbon-language/carbon-lang/blob/trunk/docs/design/expressions/comparison_operators.md" @@ -148,7 +149,8 @@ graph BT insideParens["(...)"] - assignment["x = y;
x $= y;"] + assignment["x = y; + x $= y;"] click assignment "https://github.com/carbon-language/carbon-lang/blob/trunk/docs/design/assignment.md" expressionStatement["x;"]