Build AST path from a TreeSitter node by traversing up the AST tree.
Creates a hierarchical path representing the element's location in the AST by walking up the parent chain to find namespace and class declarations. Format: namespace-class-method or namespace-outerclass-innerclass-method etc. (using '-' separator).
| node |
TreeSitter node for the element |
| code_content |
Source code content for text extraction |
|
AST path string (e.g., "OLLMvector.Indexing-OuterClass-InnerClass-methodName") |