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

GoTo definition for Ast.Variable + Data structure Node[T] for tree traversal #119

Closed
wants to merge 19 commits into from

Conversation

simerplaha
Copy link
Member

@simerplaha simerplaha commented Feb 29, 2024

  • Towards Implement go-to definition #105.
  • Implements initial go-to definition support for Ast.Variable.
  • Implements building a traversable tree from Ast.ContractWithState.
    • As more AST types implement the Positioned trait, those would automatically get added to this tree, making them available for go-to definitions.
  • Implements Node[T] type and functions for tree traversal walkUp, walkDown etc.
  • Builds the foundation for supporting go-to definition for other types. It should be quicker to implement them following these functional tree traversals.
goto_def_2.mp4

@simerplaha simerplaha requested a review from tdroxler February 29, 2024 08:47
@simerplaha
Copy link
Member Author

Will reopen.

@simerplaha simerplaha closed this Feb 29, 2024
@simerplaha simerplaha deleted the goto_2 branch February 29, 2024 12:24
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

Successfully merging this pull request may close these issues.

1 participant