Skip to content

feat(parser): Update parsing logic to use Babel type guards #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 16 commits into from
Feb 13, 2023

Conversation

hb1998
Copy link
Owner

@hb1998 hb1998 commented Feb 13, 2023

fixes #7

MajorLift and others added 16 commits February 11, 2023 21:02
- also added entry for .DS_Store
- replace `level` with `depth` on webview side
…features

- array and object destructuring for require statements
- array and object destructuring for dynamic imports
Add support for require, dynamic import statements, decouple tree state from parser
- Error was due to import path used in `SaplingParser` (`../src/types`) escaping `rootDir` defined in `tsconfig.json`.
feat: require, dynamic import statements, decouple tree state from parser
- SaplingParser, SaplingTree internally use `Tree` type instead of `INode`.
Parser/babel type guards: all tests passing
@hb1998 hb1998 merged commit 743f073 into master Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update parsing logic to use Babel type guards
2 participants