Parsing .cpp implementation?
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 620
- Forks
- 79
- Avg merge
- 14h 27m
- Merged PRs (30d)
- 1
Description
I'd like to parse .cpp files, mainly so I can associate declaration with implementation and add links to each in documentation.
I tried running ParseFile(myCpp), which works but basically gives me the same as parsing the header, plus free functions local to the cpp. The classes/methods' locations still point to the header declaration, which I suppose I should have seen coming.
I suppose the elements would need locations for both declaration and implementation in the same element. Is there a way to achieve this, or am I thinking about it wrong?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how ParseFile(myCpp) represents declarations, implementations, and source locations in the AST. Determine whether a single element can retain both header and .cpp locations, and how that would support links in documentation. Done means parsed classes and methods expose an actionable association between their declarations and implementations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, csharp
- Domain
- compilers, documentation
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100