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:
parent
fe6bd9650f
commit
7de35118a9
4 changed files with 93 additions and 84 deletions
|
@ -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&);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue