Skip to content

Commit

Permalink
Initial cut of the ES2015 parser
Browse files Browse the repository at this point in the history
- This is basically identical to the ES5 parser at this point, with the
  references modify to reflect the ES2015 intent that this parser will
  handle.
- Additional changes since the initial cut have been squashed into this
  commit to match as close to the current implementation and tests,
  including:

  - Fix to disambiguation of DIV vs. REGEX lexer tokens.
  • Loading branch information
metatoaster committed Jul 3, 2020
1 parent 6d8f76d commit b287b83
Show file tree
Hide file tree
Showing 4 changed files with 1,547 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/calmjs/parse/asttypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,10 @@ class ES5Program(Program):
pass


class ES2015Program(Program):
pass


class Block(Node):
pass

Expand Down
Loading

0 comments on commit b287b83

Please sign in to comment.