Linus Groh
|
80bb62b9cc
LibJS: Distinguish between statement and declaration
|
4 years ago |
Linus Groh
|
15642874f3
LibJS: Support all line terminators (LF, CR, LS, PS)
|
4 years ago |
Linus Groh
|
6331d45a6f
LibJS: Move checks for invalid getter/setter params to parse_function_node
|
4 years ago |
Linus Groh
|
db75be1119
LibJS: Refactor parse_function_node() bool parameters into bit flags
|
4 years ago |
Linus Groh
|
46cc1f718e
LibJS: Unprefixed octal numbers are a syntax error in strict mode
|
4 years ago |
Linus Groh
|
965d952ff3
LibJS: Share parameter parsing between regular and arrow functions
|
4 years ago |
Matthew Olsson
|
e8da5f99b1
LibJS: break or continue with nonexistent label is a syntax error
|
4 years ago |
Matthew Olsson
|
e49ea1b520
LibJS: Disallow 'continue' & 'break' outside of their respective scopes
|
4 years ago |
Matthew Olsson
|
9a82c22a85
LibJS: Disallow 'return' outside of a function
|
4 years ago |
Linus Groh
|
283ee678f7
LibJS: Validate all assignment expressions, not just "="
|
4 years ago |
Linus Groh
|
bc701658f8
LibJS: Use String::formatted() for parser error messages
|
4 years ago |
Matthew Olsson
|
6eb6752c4c
LibJS: Strict mode is now handled by Functions and Programs, not Blocks
|
4 years ago |
Muhammad Zahalqa
|
5a2ec86048
LibJS: Parser refactored to use constexpr precedence table
|
4 years ago |
Jack Karamanian
|
7533fd8b02
LibJS: Initial class implementation; allow super expressions in object
|
5 years ago |
Matthew Olsson
|
61ac1d3ffa
LibJS: Lex and parse regex literals, add RegExp objects
|
5 years ago |
Marcin Gasperowicz
|
2579d0bf55
LibJS: Hoist function declarations
|
5 years ago |
Matthew Olsson
|
ab576e610c
LibJS: Rewrite Parser.parse_object_expression()
|
5 years ago |
Matthew Olsson
|
10bf4ba3dc
LibJS: Parse labelled statements
|
5 years ago |
Matthew Olsson
|
786722149b
LibJS: Add strict mode
|
5 years ago |
Matthew Olsson
|
cc54974431
LibJS: Fix out-of-range error in Parser::Error::source_location_hint
|
5 years ago |
Linus Groh
|
2d47b30256
LibJS: Add Error::source_location_hint()
|
5 years ago |
Linus Groh
|
07af2e6b2c
LibJS: Implement basic for..in and for..of loops
|
5 years ago |
Matthew Olsson
|
e415dd4e9c
LibJS: Handle hex and unicode escape sequences in string literals
|
5 years ago |
Linus Groh
|
33defef267
LibJS: Let parser keep track of errors
|
5 years ago |
Linus Groh
|
00b61a212f
LibJS: Remove syntax errors from lexer
|
5 years ago |
Matthew Olsson
|
b5f1df57ed
LibJS: Add raw strings to tagged template literals
|
5 years ago |
mattco98
|
adb4accab3
LibJS: Add template literals
|
5 years ago |
Matthew Olsson
|
5e66f1900b
LibJS: Add function default arguments
|
5 years ago |
Linus Groh
|
43c1fa9965
LibJS: Implement (no-op) debugger statement
|
5 years ago |
Matthew Olsson
|
28ef654d13
LibJS: Add object literal method shorthand
|
5 years ago |