Linus Groh
|
2944039d6b
LibJS: Add Function() and Function.prototype
|
5 years ago |
Andreas Kling
|
faac43597a
LibJS: Add js_string(Interpreter&, String)
|
5 years ago |
Stephan Unverwerth
|
520311eb8b
LibJS: Add short circuit logical evaluation
|
5 years ago |
Linus Groh
|
6e5f9e20eb
LibJS: Fix logical expressions
|
5 years ago |
Andreas Kling
|
0622181d1f
LibJS: Implement ConditionalExpression (ternary "?:" operator)
|
5 years ago |
Linus Groh
|
2636cac6e4
LibJS: Remove UndefinedLiteral, add undefined to global object
|
5 years ago |
Linus Groh
|
a62230770b
LibJS: Implement unary plus / minus
|
5 years ago |
Jack Karamanian
|
bb15b37228
LibJS: Evaluate CallExpression arguments before pushing a CallFrame
|
5 years ago |
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 |