class
Noir::TreeSitterKotlinDtoIndex
- Noir::TreeSitterKotlinDtoIndex
- Reference
- Object
Overview
Cross-file Kotlin DTO index. Mirrors TreeSitterJavaDtoIndex:
current file + same-directory siblings + imported files, all
parsed via tree-sitter, results memoised across the analyzer's
per-file loop.
Defined in:
miniparsers/kotlin_parameter_extractor_ts.crConstant Summary
-
MAX_INHERITANCE_RESOLUTIONS =
512 -
Backstop against pathological supertype graphs — far above any real DTO hierarchy depth/fan-out.
Constructors
Class Method Summary
Instance Method Summary
- #build_for(path : String, content : String) : Index
-
#build_for_with_root(path : String, content : String, root : LibTreeSitter::TSNode) : Index
Variant taking a pre-parsed root so the Kotlin Spring analyzer can share the parse across the route + parameter walks.
Constructor Detail
Class Method Detail
Instance Method Detail
Variant taking a pre-parsed root so the Kotlin Spring analyzer can share the parse across the route + parameter walks. Sibling files still parse independently — but go through the process-wide cache so concurrent analyzers don't double-up.