summaryrefslogtreecommitdiff
path: root/Libraries/LibJS/AST.h
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2020-04-23 15:43:10 +0100
committerAndreas Kling <kling@serenityos.org>2020-04-23 19:38:13 +0200
commit396ecfa2d79be73af9de3f9a1514925e99f02dd4 (patch)
treeca98f21f5d8ff4e3954afe5361fc47439892a3c3 /Libraries/LibJS/AST.h
parent502d1f5165d623818d04851b1bacf327709b9007 (diff)
downloadserenity-396ecfa2d79be73af9de3f9a1514925e99f02dd4.zip
LibJS: Implement bitwise unsigned right shift operator (>>>)
Diffstat (limited to 'Libraries/LibJS/AST.h')
-rw-r--r--Libraries/LibJS/AST.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Libraries/LibJS/AST.h b/Libraries/LibJS/AST.h
index acb78abe74..8005441c74 100644
--- a/Libraries/LibJS/AST.h
+++ b/Libraries/LibJS/AST.h
@@ -1,5 +1,6 @@
/*
* Copyright (c) 2020, Andreas Kling <kling@serenityos.org>
+ * Copyright (c) 2020, Linus Groh <mail@linusgroh.de>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -341,6 +342,7 @@ enum class BinaryOp {
BitwiseXor,
LeftShift,
RightShift,
+ UnsignedRightShift,
InstanceOf,
};
@@ -569,6 +571,7 @@ enum class AssignmentOp {
DivisionAssignment,
LeftShiftAssignment,
RightShiftAssignment,
+ UnsignedRightShiftAssignment,
};
class AssignmentExpression : public Expression {