Title: Add Prism methods to retrieve inline comments without full AST parsing
Title: Add Prism methods to retrieve inline comments without full AST parsing: a task in LegoFlow-SWE (Harbor dataset). Problem: Prism currently lacks dedicated APIs to obtain only the inline comments from a Ruby source. A user who needs just the inline comments—without incurring the overhead of…
The task
**Problem:** Prism currently lacks dedicated APIs to obtain only the inline comments from a Ruby source. A user who needs just the inline comments—without incurring the overhead of building a complete syntax tree—has no straightforward, supported way to do so.
Part of Lego-X/LegoFlow-SWE.