diff options
author | Linus Groh <mail@linusgroh.de> | 2020-04-23 15:43:10 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-04-23 19:38:13 +0200 |
commit | 396ecfa2d79be73af9de3f9a1514925e99f02dd4 (patch) | |
tree | ca98f21f5d8ff4e3954afe5361fc47439892a3c3 /Libraries/LibJS/AST.h | |
parent | 502d1f5165d623818d04851b1bacf327709b9007 (diff) | |
download | serenity-396ecfa2d79be73af9de3f9a1514925e99f02dd4.zip |
LibJS: Implement bitwise unsigned right shift operator (>>>)
Diffstat (limited to 'Libraries/LibJS/AST.h')
-rw-r--r-- | Libraries/LibJS/AST.h | 3 |
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 { |