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 support for finding class and service definitions in the getEnclosedFunctionDef #650

Merged
merged 2 commits into from
Mar 5, 2025

Conversation

nipunayf
Copy link
Contributor

@nipunayf nipunayf commented Mar 5, 2025

Purpose

When the findClass parameter is true, the function returns the class definition range; otherwise, it returns the function definition range.

@nipunayf nipunayf added the Area/FlowModel Related to the flow model generation LS extension label Mar 5, 2025
@nipunayf nipunayf requested a review from KavinduZoysa as a code owner March 5, 2025 15:50
@nipunayf nipunayf force-pushed the improve-enclose-fn branch from 7505ce1 to be6a483 Compare March 5, 2025 15:59
@hasithaa hasithaa merged commit 374489c into ballerina-platform:main Mar 5, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area/FlowModel Related to the flow model generation LS extension
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants