xoofx / xoofx/CppAst.NET

Parsing comments

Open
#36 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
C#
Stars
620
Forks
79
Avg merge
14h 27m
Merged PRs (30d)
1

Description

Hi,

Do I have a way to parse the following comments:

int field; /* comment */

As I see such comment is ignored.

Thanks in advance,
Dennis.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the parser's comment handling and the libclang AST exposure described in the issue. Determine whether inline C/C++ comments such as /* comment */ are available through the public AST; done means documenting or exposing a way to retrieve them if they are currently discarded.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, csharp
Domain
compilers
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.