Skip to content
This repository was archived by the owner on May 12, 2025. It is now read-only.

Add new JS.ScopedVariableDeclarations for variables#122

Merged
knutwannheden merged 3 commits intomainfrom
multi-variables
Oct 4, 2024
Merged

Add new JS.ScopedVariableDeclarations for variables#122
knutwannheden merged 3 commits intomainfrom
multi-variables

Conversation

@knutwannheden
Copy link
Copy Markdown
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
Copy Markdown
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
@knutwannheden knutwannheden deleted the multi-variables branch October 4, 2024 09:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant