1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:58:11 +00:00
serenity/Libraries/LibJS
Andreas Kling 35aea2e454 LibJS: Stop using Optional<Value> in favor of Value's empty state
JS::Value already has the empty state ({} or Value() gives you one.)
Use this instead of wrapping Value in Optional in some places.
I've also added Value::value_or(Value) so you can easily provide a
fallback value when one is not present.
2020-04-25 18:45:22 +02:00
..
Heap LibJS: Add MarkedValueList and use it for argument passing 2020-04-19 17:34:33 +02:00
Runtime LibJS: Stop using Optional<Value> in favor of Value's empty state 2020-04-25 18:45:22 +02:00
Tests LibJS: Add String.prototype.includes 2020-04-25 16:54:25 +02:00
AST.cpp LibJS: Stop using Optional<Value> in favor of Value's empty state 2020-04-25 18:45:22 +02:00
AST.h LibJS: Implement computed properties in object expressions 2020-04-23 23:56:04 +02:00
Forward.h LibJS: Add Uint8ClampedArray :^) 2020-04-21 23:47:39 +02:00
Interpreter.cpp LibJS: Stop using Optional<Value> in favor of Value's empty state 2020-04-25 18:45:22 +02:00
Interpreter.h LibJS: Stop using Optional<Value> in favor of Value's empty state 2020-04-25 18:45:22 +02:00
Lexer.cpp LibJS: Add TokenType::TemplateLiteral 2020-04-24 11:18:57 +02:00
Lexer.h LibJS: Handle HTML-style comments 2020-04-14 12:54:09 +02:00
Makefile LibJS: Add Uint8ClampedArray :^) 2020-04-21 23:47:39 +02:00
Parser.cpp LibJS: Add TokenType::TemplateLiteral 2020-04-24 11:18:57 +02:00
Parser.h LibJS: Parse while statements 2020-04-22 11:48:14 +02:00
Token.cpp LibJS: Add TokenType::TemplateLiteral 2020-04-24 11:18:57 +02:00
Token.h LibJS: Add TokenType::TemplateLiteral 2020-04-24 11:18:57 +02:00