You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Short description
I would like an additional strategy in the Statix Stratego API that retrieves the root scope from the scope graph of a given analysis result.
Problem description.
Current analysis related strategies in the Stratego API operate on a given Scope term, but there is no simple way yet to retrieve the root scope of an analysis to bootstrap the utilization of these strategies.
Describe the solution you'd like
A stx-get-root-scope strategy that maps a given analysis result to the root Scope term would solve this problem.
Describe alternatives you've considered
Retrieving the root Scope term as a property of an AST node is already possible, but this seems more of a workaround as I believe it should still be possible to query the scope graph while disregarding the AST.
Additional context
N/A
The text was updated successfully, but these errors were encountered:
Short description
I would like an additional strategy in the Statix Stratego API that retrieves the root scope from the scope graph of a given analysis result.
Problem description.
Current analysis related strategies in the Stratego API operate on a given Scope term, but there is no simple way yet to retrieve the root scope of an analysis to bootstrap the utilization of these strategies.
Describe the solution you'd like
A
stx-get-root-scope
strategy that maps a given analysis result to the root Scope term would solve this problem.Describe alternatives you've considered
Retrieving the root Scope term as a property of an AST node is already possible, but this seems more of a workaround as I believe it should still be possible to query the scope graph while disregarding the AST.
Additional context
N/A
The text was updated successfully, but these errors were encountered: