1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-03 04:22:13 +00:00
serenity/Libraries/LibJS
Matthew Olsson 5e66f1900b LibJS: Add function default arguments
Adds the ability for function arguments to have default values. This
works for standard functions as well as arrow functions. Default values
are not printed in a <function>.toString() call, as nodes cannot print
their source string representation.
2020-05-03 00:44:57 +02:00
..
Heap LibJS: Add MarkedValueList and use it for argument passing 2020-04-19 17:34:33 +02:00
Runtime LibJS: Add function default arguments 2020-05-03 00:44:57 +02:00
Tests LibJS: Add function default arguments 2020-05-03 00:44:57 +02:00
AST.cpp LibJS: Add function default arguments 2020-05-03 00:44:57 +02:00
AST.h LibJS: Add function default arguments 2020-05-03 00:44:57 +02:00
Console.cpp LibJS: Add ConsoleMessage concept 2020-05-02 11:41:35 +02:00
Console.h LibJS: Add ConsoleMessage concept 2020-05-02 11:41:35 +02:00
Forward.h LibJS: Add Reference class to represent a base.property reference 2020-04-28 15:07:08 +02:00
Interpreter.cpp LibJS: Start implementing a Console class for the interpreter 2020-05-02 11:41:35 +02:00
Interpreter.h LibJS: Start implementing a Console class for the interpreter 2020-05-02 11:41:35 +02:00
Lexer.cpp LibJS: Implement (no-op) debugger statement 2020-05-01 22:07:13 +02:00
Lexer.h LibJS: Handle HTML-style comments 2020-04-14 12:54:09 +02:00
Makefile LibJS: Start implementing a Console class for the interpreter 2020-05-02 11:41:35 +02:00
Parser.cpp LibJS: Add function default arguments 2020-05-03 00:44:57 +02:00
Parser.h LibJS: Add function default arguments 2020-05-03 00:44:57 +02:00
Token.cpp LibJS: Add TokenType::TemplateLiteral 2020-04-24 11:18:57 +02:00
Token.h LibJS: Implement (no-op) debugger statement 2020-05-01 22:07:13 +02:00