New math parser (#956)

* New math parser

* Remove old parser

* Comments

* Move tests into parser_impl, remove dead code

* Backport some math tests
This commit is contained in:
Adam Chalmers
2023-10-31 14:16:18 -05:00
committed by GitHub
parent 387f7e0912
commit 023c3cbb90
8 changed files with 891 additions and 4547 deletions

View File

@ -1443,7 +1443,7 @@ describe('nests binary expressions correctly', () => {
type: 'BinaryExpression',
operator: '*',
start: 15,
end: 26,
end: 25,
left: { type: 'Literal', value: 2, raw: '2', start: 15, end: 16 },
right: {
type: 'BinaryExpression',