Andreas Kling
|
1549c5c48b
LibJS: Make Value::as_object() return Object&
|
5 years ago |
Linus Groh
|
849e2c77e4
LibJS: Implement constructor/non-constructor function calls
|
5 years ago |
Andreas Kling
|
cd9379dca9
LibJS: Reorganize computing of |this| for CallExpressions
|
5 years ago |
Linus Groh
|
fb0401871c
LibJS: Throw TypeError when calling non-function object
|
5 years ago |
Andreas Kling
|
2285f84596
LibJS: Implement basic execution of "switch" statements
|
5 years ago |
Andreas Kling
|
1923051c5b
LibJS: Lexer and parser support for "switch" statements
|
5 years ago |
Andreas Kling
|
7c4e53f31e
LibJS: Rework how native functions are called to improve |this| value
|
5 years ago |
Andreas Kling
|
a3d92b1210
LibJS: Implement the "instanceof" operator
|
5 years ago |
Andreas Kling
|
37fe16a99c
LibJS: Add Function.prototype and make "new" Objects delegate to it
|
5 years ago |
Andreas Kling
|
0593ce406b
LibJS: Implement basic support for the "new" keyword
|
5 years ago |
Andreas Kling
|
0d2fb306af
LibJS: Check for exceptions in a lot more places
|
5 years ago |
Andreas Kling
|
c60dc84a33
LibJS: Allow function calls with missing arguments
|
5 years ago |
Andreas Kling
|
4802413f71
LibJS: Say "return {}" instead of "return js_undefined()" in AST nodes
|
5 years ago |
Andreas Kling
|
ad6ede7ee4
LibJS: Make FunctionDeclaration return undefined
|
5 years ago |
Andreas Kling
|
6c9d2cfa5e
LibJS: Handle "for" statements with empty initializer and updater
|
5 years ago |
Andreas Kling
|
faddf3a1db
LibJS: Implement "throw"
|
5 years ago |
Andreas Kling
|
343e224aa8
LibJS: Implement basic exception throwing
|
5 years ago |
Andreas Kling
|
c33d4aefc3
LibJS: Parse "try", "catch" and "finally"
|
5 years ago |
Andreas Kling
|
494df52961
LibJS: Actually leave the current function scope on "return"
|
5 years ago |
Andreas Kling
|
cccbe43056
LibJS: Use FlyString for identifiers
|
5 years ago |
Andreas Kling
|
7c48c3c8e1
LibJS: Parse "if" statements
|
5 years ago |
Andreas Kling
|
00feef8642
LibJS: Some optimizations for ObjectExpression
|
5 years ago |
0xtechnobabble
|
bc002f807a
LibJS: Parse object expressions
|
5 years ago |
Andreas Kling
|
bceabd7c4b
LibJS: Add ArrayPrototype and implement Array.prototype.push()
|
5 years ago |
Andreas Kling
|
a3d2e07446
LibJS: Parse computed MemberExpressions
|
5 years ago |
Andreas Kling
|
a82f64d3d6
LibJS: Parse ArrayExpression and start implementing Array objects
|
5 years ago |
Andreas Kling
|
5db8940c9e
LibJS: Use StringBuilder::join()
|
5 years ago |
Andreas Kling
|
1a10470c1d
LibJS: Implement basic object property assignment
|
5 years ago |
Andreas Kling
|
b1b4c9844e
LibJS: Add FunctionExpression AST node
|
5 years ago |
Andreas Kling
|
ddd69e3660
LibJS: Make the AST reference-counted
|
5 years ago |