mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:07:34 +00:00
LibJS: Implement bitwise unsigned right shift operator (>>>)
This commit is contained in:
parent
502d1f5165
commit
396ecfa2d7
6 changed files with 108 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue