mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-10-11 03:38:07 +00:00
Add createRubyCfgVisitor + ruby-harvest: if/unless/elsif/else + statement-modifier forms (x if c, x while c), while/until/for (until inverts the sense), case/when + case/in (pattern, no fallthrough), begin/rescue/else/ensure (ensure=finally, rescue=catch) + retry (loop-back into begin), return/break/next/redo, blocks/lambdas as their own closure CFGs. Wire into rubyProvider. Every literal validated against tree-sitter-ruby via the probe (case vs case_match, modifier nodes, typed rescue/ensure children). loop do / while true keep EXIT reverse-reachable (production CDG probe: 3 edges). 34 real-parser tests; comprehensive sweep green (486). Gaps: yield, expression-position if/case/begin inline, ivar/gvar non-local defs. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| c-cpp-visitor.test.ts | ||
| cfg-builder.test.ts | ||
| control-dependence.test.ts | ||
| csharp-visitor.test.ts | ||
| emit-guard.test.ts | ||
| go-visitor.test.ts | ||
| harness.test.ts | ||
| harvest.test.ts | ||
| java-visitor.test.ts | ||
| opt-in.test.ts | ||
| php-visitor.test.ts | ||
| post-dominators.test.ts | ||
| python-visitor.test.ts | ||
| reaching-defs.test.ts | ||
| ruby-visitor.test.ts | ||
| typescript-visitor.test.ts | ||