-
-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat(expression-parser): delegate errors to Reporter for more descriptive errors * feat(debug): create AST expression serializer * test(expression-parser): use serializer instead of unparser for assertions * test(expression-parser): initial rework for parser tests to cover all edge cases * fix(expression-parser): correctly parse "unsafe" integers * fix(expression-parser): disable broken "raw" values on template for now * fix(expression-parser): correctly parse member expressions when preceded by a unary operator * fix(expression-parser): allow template strings to have member expressions * fix(expression-parser): allow AccessThis to be the tag for a template * fix(expression-parser): use IsAssign instead of Conditional precedence for nested expressions * fix(expression-parser): fix binary sibling operator precedence * test(jit): re-enable some tests * chore(test): reorganize tests and add clarifying comments * test(expression-parser): add assign/vc/bb tests fix(expression-parser): ensure AccessScope is assignable * test(expression-parser): add all unicode tests back in * refactor(expression-parser): extract enums and util function out into common.ts * perf(expression-parser): reuse one ParserState object * chore(jit): export common * fix(expression-parser): properly detect EOF for unterminated quote instead of hanging * fix(expression-parser): throw on invalid dot terminal in AccessThis fix(expression-parser): throw on unterminated template instead of hanging * fix(expression-parser): correctly parse number with trailing dot * feat(expression-parser): improve error reporting * chore(all): remove .only * test(expression-parser): verify some more errors * test(expression-parser): wrap up the error code tests * chore(jit): move stuff around * test(expression-parser): add BindingTypes to simple test combinations * test(expression-parser): add invalidForOf * test(unparser): let the unparser ride along with the parser tests * chore(jit): fix typo
- Loading branch information
1 parent
582c77c
commit a0c9b0e
Showing
8 changed files
with
1,818 additions
and
1,381 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.