GitNexus/gitnexus-shared
taiseii 5250ce2efa feat(r): add R language support with defineLanguage() pattern
Adds full R language support (39 integration tests + 14 unit tests passing).
R classes (S4/R5/R6) are expressed as function calls rather than
tree-sitter class syntax, so the worker can't always find enclosing
classes during AST walks. A new `r-post-parse.ts` resolves deferred
owner hints against the TypeRegistry and explicitly registers methods/
properties into MethodRegistry/FieldRegistry after parsing completes.

Changes:
- gitnexus-shared: add R enum + .r extension + Prism mapping
- languages/r.ts: defineLanguage() with wildcard-leaf imports, R6/R5/S4
  field+method extractors, roxygen2 type extraction, NAMESPACE-aware
  exports
- tree-sitter-queries: R_QUERIES for functions, classes, methods, fields,
  imports, heritage, roxygen2 comments (+ 246 lines)
- language-config: RPackageConfig + loadRPackageConfig() scanning
  DESCRIPTION/NAMESPACE for exports + exportPattern + S3method
- import-resolvers/types: add rPackageConfig to ImportConfigs
- parse-worker + parsing-processor: R ownerNameHint capture for
  setMethod("fn", "ClassName") + findRFieldOwnerNode fallback
- r-post-parse: attachDeferredROwners resolves ownerNameHint via
  TypeRegistry, mutates SymbolDefinition + registers into
  Method/FieldRegistry + emits HAS_METHOD/HAS_PROPERTY edges.
  refineRExportStatus applies NAMESPACE filtering per package.
- Integration tests cover <<- super-assignment, R6 private/active,
  S4 multi-parent EXTENDS, bare R6Class(), require(), dot-names,
  exportClasses/exportMethods, default-public without NAMESPACE,
  R6 field type inference from defaults, + heritage fix for S4
  contains= queries.
2026-10-01 13:37:57 +01:00
..
src feat(r): add R language support with defineLanguage() pattern 2026-10-01 13:37:57 +01:00
package-lock.json chore(deps)(deps-dev): bump typescript in /gitnexus-shared (#2941) 2026-08-13 06:23:16 +01:00
package.json chore(deps)(deps-dev): bump typescript in /gitnexus-shared (#2941) 2026-08-13 06:23:16 +01:00
tsconfig.json feat: unify web and cli ingestion pipeline (#536) 2026-03-28 14:07:11 +00:00