DART_OPERATOR_EXPRESSIONS (dart.ts) — the expressions an arrow function's body can end in with the operand on the right last.
(kind: &str)
| 134 | /// DART_OPERATOR_EXPRESSIONS (dart.ts) — the expressions an arrow function's |
| 135 | /// body can end in with the operand on the right last. |
| 136 | fn is_operator_expression(kind: &str) -> bool { |
| 137 | matches!( |
| 138 | kind, |
| 139 | "equality_expression" |
| 140 | | "relational_expression" |
| 141 | | "logical_and_expression" |
| 142 | | "logical_or_expression" |
| 143 | | "if_null_expression" |
| 144 | | "additive_expression" |
| 145 | | "multiplicative_expression" |
| 146 | | "bitwise_and_expression" |
| 147 | | "bitwise_or_expression" |
| 148 | | "bitwise_xor_expression" |
| 149 | | "shift_expression" |
| 150 | | "unary_expression" |
| 151 | | "await_expression" |
| 152 | ) |
| 153 | } |
| 154 | |
| 155 | /// DART_LISTS (dart.ts) — the nodes that list the expressions a generic |
| 156 | /// constructor call can be split across. |