Commit Graph

16 Commits (2708b1e61f3c8a9ac132c7efb65e93053937e5ca)

Author SHA1 Message Date
Yury Kurlykov 2708b1e61f
Add specific Literal classes
They are needed for the further development convenience.
2020-04-30 00:55:25 +10:00
Yury Kurlykov c504830928
Add ES2020 nodes 2020-04-28 18:41:51 +10:00
Yury Kurlykov 85aa1b2a34
Add ES2018 nodes 2020-04-28 16:55:26 +10:00
Yury Kurlykov 245bae4175
Make Property ES6+ compliant 2020-04-28 16:51:14 +10:00
Yury Kurlykov 74d53ddf34
Add ES2016 nodes
A whole standard just for power operator? ECMA must be kidding.
2020-04-28 16:05:37 +10:00
Yury Kurlykov 7a1eca4aca
Add ES2015 nodes 2020-04-28 15:54:16 +10:00
Yury Kurlykov b4bbc8460e
Raise NotImplementedError on WIP nodes 2020-04-28 15:53:28 +10:00
Yury Kurlykov ace635c999
Implement EmptyStatement node generation
I don't even know what does the "procrastination" word mean. `EmptyStatement` is the most useful node ever.
2020-04-28 15:52:35 +10:00
Yury Kurlykov ea5b03d93e
Fix import statements
I just found out my project couldn't run anywhere but IDE.
2020-04-28 12:00:06 +10:00
Yury Kurlykov 42b4e40d9e
Add `name` field in Identifier 2020-04-28 11:20:15 +10:00
Yury Kurlykov 041f4c31fb
Expose `start` and `end` fields in SourceLocation 2020-04-28 04:39:50 +10:00
Yury Kurlykov 494ed06f28
Implement variable statement AST generation (WIP) 2020-04-28 04:28:14 +10:00
Yury Kurlykov 47d6d31239
Fix a typo in VariableDeclarator type hints 2020-04-28 04:26:33 +10:00
Yury Kurlykov 6414fecbfe
Add AST to ASCII converter 2020-04-28 03:30:37 +10:00
Yury Kurlykov 7f68959590
Make a huge load of changes
- Remove visitors
- Add logging
- Add file read
- Make ESTree nodes work
- Move JS input streams to its own module
- Implement parse tree listeners (WIP)
- Add custom error listener (WIP)
2020-04-27 23:07:15 +10:00
Yury Kurlykov dc7502aa57
Implement ES5 part of JavaScript AST 2020-04-26 23:10:26 +10:00