2 repositorios
Mechanisms for tracking the current position and accessing contextual ancestors or siblings during tree traversal.
Distinct from Document Tree Traversers: Focuses on positional context and cursor state rather than mapping DOM elements to drawing instructions.
Explore 2 awesome GitHub repositories matching software engineering & architecture · Tree Cursor Tracking. Refine with filters or upvote what's useful.
OpenRewrite is an automated refactoring engine and source-to-source migration framework. It uses a lossless semantic tree parser to represent source code as type-aware trees that preserve original whitespace and formatting, enabling precise and deterministic modifications. The project utilizes a declarative refactoring pipeline where sequences of transformations are defined in YAML to resolve breaking changes and technical debt. It features type-aware pattern matching and cross-language model mapping to apply similar refactoring patterns across different programming languages. The framework
Provides a cursor stack to track a visitor's position, enabling access to parent and sibling elements.
nvim-treesitter-context is a Neovim editor extension that provides structural awareness of source files by displaying sticky headers of surrounding code blocks. It utilizes Tree-sitter queries to identify parent functions and classes, keeping them visible at the top of the editor window while scrolling. The tool allows for language rule customization, enabling the definition of specific structural queries to modify how context is detected for different programming languages. Users can also adjust the visual appearance of the context window through custom highlight groups. Beyond visual orien
Implements logic to track the current cursor position and identify ancestral nodes within the syntax tree.