-
Notifications
You must be signed in to change notification settings - Fork 201
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
API for getting the root node of the construct tree #3060
Comments
Hi, This issue hasn't seen activity in 60 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. |
Hi, This issue hasn't seen activity in 90 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. |
I think we can use |
Hi, This issue hasn't seen activity in 90 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. |
Closing in favor of #6058 which will cover this in any case. |
Feature Spec
Currently there's no way to get the root node of the construct tree. The following workaround can work, but it's ugly and non-intuitive:
I suggest adding something like
utils.rootNode()
that does the same.Use Cases
In some cases this can be useful. Once case is if you want set a custom scope (
in
) to of a preflight calss to the root node:Implementation Notes
No response
Component
SDK
Compiler
Community Notes
The text was updated successfully, but these errors were encountered: