add support for the new assign expression in TypeScript 4

This commit is contained in:
Erik Krogh Kristensen
2020-08-11 13:55:01 +02:00
parent 2f34990ae6
commit d2c87d0a2e
5 changed files with 54 additions and 3 deletions

View File

@@ -77,6 +77,9 @@ public class ExprKinds {
binOpKinds.put("**", 87);
binOpKinds.put("**=", 88);
binOpKinds.put("??", 107);
binOpKinds.put("&&=", 116);
binOpKinds.put("||=", 117);
binOpKinds.put("??=", 118);
}
private static final Map<String, Integer> unOpKinds = new LinkedHashMap<String, Integer>();