1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:07:35 +00:00

LibJS: Move Value ops into Value.cpp and tweak BinaryOp names

This commit is contained in:
Andreas Kling 2020-03-10 11:35:05 +01:00
parent fe6bd9650f
commit 7de35118a9
4 changed files with 93 additions and 84 deletions

View file

@ -136,6 +136,15 @@ inline Value js_null()
return Value(Value::Type::Null);
}
Value greater_than(Value lhs, Value rhs);
Value less_than(Value lhs, Value rhs);
Value bitwise_and(Value lhs, Value rhs);
Value bitwise_or(Value lhs, Value rhs);
Value bitwise_xor(Value lhs, Value rhs);
Value bitwise_not(Value);
Value left_shift(Value lhs, Value rhs);
Value right_shift(Value lhs, Value rhs);
const LogStream& operator<<(const LogStream&, const Value&);
}