Skip to content
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

Add new JS.ScopedVariableDeclarations for variables #122

Merged
merged 3 commits into from
Oct 4, 2024

Conversation

knutwannheden
Copy link
Contributor

JS/TS variables are typically introduced by a let, const, or var keyword (not for parameters or fields, however). This and the fact that for multi-variable declarations each variable can declare its own type (unlike in Java), requires us to add a JS-specific construct.

JS/TS variables are typically introduced by a `let`, `const`, or `var` keyword (not for parameters or fields, however). This and the fact that for multi-variable declarations each variable can declare its own type (unlike in Java), requires us to add a JS-specific construct.
@knutwannheden
Copy link
Contributor Author

This is still work in progress, but I think the LST type should be finished.

@knutwannheden knutwannheden merged commit 0b94b8d into main Oct 4, 2024
2 checks passed
@knutwannheden knutwannheden deleted the multi-variables branch October 4, 2024 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant