ladybird/Libraries/LibJS
Andreas Kling 8dc6416bba LibJS: Use the same StringPrototype globally
To make sure that everyone has the same instance of StringPrototype,
hang a global prototype off of the Interpreter that can be fetched
when constructing new StringObjects.
2020-03-15 15:11:13 +01:00
..
AST.cpp LibJS: Add basic prototype support 2020-03-15 15:01:10 +01:00
AST.h LibJS: Add basic prototype support 2020-03-15 15:01:10 +01:00
Cell.cpp LibJS: Add Cell::interpreter() convenience helper 2020-03-15 15:08:27 +01:00
Cell.h LibJS: Add Cell::interpreter() convenience helper 2020-03-15 15:08:27 +01:00
Forward.h LibJS: Add NativeFunction, a callable wrapper around a C++ lambda 2020-03-12 19:54:47 +01:00
Function.cpp LibJS: Split Function into subclasses NativeFunction and ScriptFunction 2020-03-13 11:08:16 +01:00
Function.h LibJS: Split Function into subclasses NativeFunction and ScriptFunction 2020-03-13 11:08:16 +01:00
GlobalObject.cpp LibJS: Add Object::put_native_function() for convenience 2020-03-13 11:08:16 +01:00
GlobalObject.h LibJS: Add Object::put_native_function() for convenience 2020-03-13 11:08:16 +01:00
Heap.cpp LibJS: Make it possible to go from a Cell* to its Heap& 2020-03-13 11:08:16 +01:00
Heap.h LibJS: Add Cell::interpreter() convenience helper 2020-03-15 15:08:27 +01:00
HeapBlock.cpp LibJS: Make it possible to go from a Cell* to its Heap& 2020-03-13 11:08:16 +01:00
HeapBlock.h LibJS: Make it possible to go from a Cell* to its Heap& 2020-03-13 11:08:16 +01:00
Interpreter.cpp LibJS: Use the same StringPrototype globally 2020-03-15 15:11:13 +01:00
Interpreter.h LibJS: Use the same StringPrototype globally 2020-03-15 15:11:13 +01:00
Lexer.cpp LibJS: Lex single quote strings, escaped chars and unterminated strings 2020-03-14 12:13:53 +01:00
Lexer.h LibJS: Lex single quote strings, escaped chars and unterminated strings 2020-03-14 12:13:53 +01:00
Makefile LibJS: Add StringPrototype and make it the prototype of StringObject 2020-03-15 15:02:49 +01:00
NativeFunction.cpp LibJS: Split Function into subclasses NativeFunction and ScriptFunction 2020-03-13 11:08:16 +01:00
NativeFunction.h LibJS: Split Function into subclasses NativeFunction and ScriptFunction 2020-03-13 11:08:16 +01:00
Object.cpp LibJS: Add basic prototype support 2020-03-15 15:01:10 +01:00
Object.h LibJS: Add basic prototype support 2020-03-15 15:01:10 +01:00
Parser.cpp LibJS/Parser: Implement the parsing of unary/prefixed update expressions 2020-03-14 20:02:53 +01:00
Parser.h LibJS/Parser: Implement the parsing of unary/prefixed update expressions 2020-03-14 20:02:53 +01:00
PrimitiveString.cpp LibJS: Add a new PrimitiveString class to hold GC-allocated strings 2020-03-11 19:00:22 +01:00
PrimitiveString.h LibJS: Add a new PrimitiveString class to hold GC-allocated strings 2020-03-11 19:00:22 +01:00
ScriptFunction.cpp LibJS: Split Function into subclasses NativeFunction and ScriptFunction 2020-03-13 11:08:16 +01:00
ScriptFunction.h LibJS: Split Function into subclasses NativeFunction and ScriptFunction 2020-03-13 11:08:16 +01:00
StringObject.cpp LibJS: Use the same StringPrototype globally 2020-03-15 15:11:13 +01:00
StringObject.h LibJS: Add StringPrototype and make it the prototype of StringObject 2020-03-15 15:02:49 +01:00
StringPrototype.cpp LibJS: Add StringPrototype and make it the prototype of StringObject 2020-03-15 15:02:49 +01:00
StringPrototype.h LibJS: Add StringPrototype and make it the prototype of StringObject 2020-03-15 15:02:49 +01:00
Token.cpp LibJS: Unescape strings in Token::string_value() 2020-03-14 16:00:28 +01:00
Token.h LibJS: Lex single quote strings, escaped chars and unterminated strings 2020-03-14 12:13:53 +01:00
Value.cpp LibJS: Add Value::to_i32() helper function 2020-03-15 15:00:18 +01:00
Value.h LibJS: Add Value::to_i32() helper function 2020-03-15 15:00:18 +01:00