Andreas Kling
|
ac7459cb40
LibJS: Hoist variable declarations to the nearest relevant scope
|
5 years ago |
Stephan Unverwerth
|
f8f65053bd
LibJS: Parse "this" as ThisExpression
|
5 years ago |
Linus Groh
|
eece424694
LibJS: Make Function and CallFrame aware of their function name
|
5 years ago |
Emanuele Torre
|
38dfd04633
LibJS: rename JS::DeclarationType => JS::DeclarationKind
|
5 years ago |
Andreas Kling
|
19cbfaee54
LibJS: Add SequenceExpression AST node (comma operator)
|
5 years ago |
Andreas Kling
|
be019f28ca
LibJS: Add a PropertyName class that represents a string or a number
|
5 years ago |
Linus Groh
|
0403845d3e
LibJS: Implement exponentiation (** operator)
|
5 years ago |
Linus Groh
|
eafd3dbaf8
LibJS: Rename BinaryOp::{Plus,Minus,Asterisk,Slash}
|
5 years ago |
Andreas Kling
|
1d468ed6d3
AK: Stop allowing implicit downcast with RefPtr and NonnullRefPtr
|
5 years ago |
Andreas Kling
|
9ebd066ac8
LibJS: Add support for "continue" inside "for" statements :^)
|
5 years ago |
Andreas Kling
|
5e40aa182b
LibJS: Support VariableDeclaration with multiple declarators
|
5 years ago |
Andreas Kling
|
9691286cf0
LibJS: Add Declaration class to the AST
|
5 years ago |
Andreas Kling
|
f8393b80e3
LibJS: Add support for do..while statements
|
5 years ago |
Andreas Kling
|
da0715aba9
LibJS: Rename WhileStatement::predicate() => body()
|
5 years ago |
Andreas Kling
|
644ff1bbfd
LibJS: Add basic support for modulo (%) in binary 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 |
Andreas Kling
|
cd9379dca9
LibJS: Reorganize computing of |this| for CallExpressions
|
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
|
a3d92b1210
LibJS: Implement the "instanceof" operator
|
5 years ago |
Andreas Kling
|
0593ce406b
LibJS: Implement basic support for the "new" keyword
|
5 years ago |
Andreas Kling
|
faddf3a1db
LibJS: Implement "throw"
|
5 years ago |
Andreas Kling
|
c33d4aefc3
LibJS: Parse "try", "catch" and "finally"
|
5 years ago |
Andreas Kling
|
df524203b2
LibJS: Consume semicolon at the end of a statement
|
5 years ago |
Andreas Kling
|
fbb9e1b715
LibJS: Implement "else" parsing
|
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 |