ladybird/Userland/Libraries/LibJS
Linus Groh 7d521b7c7c LibJS: Implement Function.prototype.toString() according to the spec
That's an old yak :^)
No, past me, AST nodes do not need to learn to stringify themselves.
This is now massively simplified by using the [[SourceText]] internal
slot.

Also updates a bunch of tests that are incorrect due to the old
implementation not being spec compliant, and add plenty more.
2022-01-19 20:33:08 +00:00
..
Bytecode LibJS: Pass source text to ECMAScriptFunctionObject::create() 2022-01-19 20:33:08 +00:00
Heap LibJS: Add Handle specialisation for Value 2022-01-05 11:21:38 +01:00
Runtime LibJS: Implement Function.prototype.toString() according to the spec 2022-01-19 20:33:08 +00:00
Tests LibJS: Implement Function.prototype.toString() according to the spec 2022-01-19 20:33:08 +00:00
AST.cpp LibJS: Pass source text to ECMAScriptFunctionObject::create() 2022-01-19 20:33:08 +00:00
AST.h LibJS: Let class_definition_evaluation() return a ESFnObject*, not Value 2022-01-19 20:33:08 +00:00
CMakeLists.txt LibJS: Rename GeneratorObjectPrototype to GeneratorPrototype 2022-01-16 14:50:22 +01:00
Console.cpp LibJS: Implement console.time/timeLog/timeEnd() methods 2021-12-27 21:44:07 +01:00
Console.h LibJS: Implement console.time/timeLog/timeEnd() methods 2021-12-27 21:44:07 +01:00
Forward.h LibJS: Rename GeneratorObjectPrototype to GeneratorPrototype 2022-01-16 14:50:22 +01:00
Interpreter.cpp LibJS: Remove now unused VM::{set_,}last_value() 2022-01-08 23:43:03 +01:00
Interpreter.h LibJS: Convert Interpreter::run() to ThrowCompletionOr<Value> 2022-01-08 23:43:03 +01:00
Lexer.cpp LibJS: Set Token's m_offset to the value's start index 2022-01-19 20:33:08 +00:00
Lexer.h LibJS: Detect invalid unicode and stop lexing at that point 2021-12-29 16:57:23 +01:00
MarkupGenerator.cpp LibJS+js: Pretty-print Date objects using the ToDateString AO 2022-01-15 20:13:48 +01:00
MarkupGenerator.h Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
Module.cpp
Module.h
Parser.cpp LibJS: Capture source text of FunctionNode and ClassExpression 2022-01-19 20:33:08 +00:00
Parser.h LibJS: Capture source text of FunctionNode and ClassExpression 2022-01-19 20:33:08 +00:00
Script.cpp
Script.h
SourceRange.h
SourceTextModule.cpp
SourceTextModule.h
SyntaxHighlighter.cpp
SyntaxHighlighter.h
Token.cpp LibJS: Disallow '\8' and '\9' in strict mode due to being octal escapes 2021-11-30 17:05:32 +00:00
Token.h Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00