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

Support expressions sans statements #51

Open
samhh opened this issue Aug 5, 2021 · 1 comment
Open

Support expressions sans statements #51

samhh opened this issue Aug 5, 2021 · 1 comment

Comments

@samhh
Copy link
Owner

samhh commented Aug 5, 2021

See also #49.

This could be a separate flag, something like -x/--expr. In that case, will the TS plugin necessarily know whether it's working with an expression or a statement?

How else could this be structured?

@samhh
Copy link
Owner Author

samhh commented Aug 5, 2021

The TS plugin should have access to the ScriptElementKind enum. It's possible things can be improved for the plugin before this is implemented here.

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

No branches or pull requests

1 participant