Skip to content

Conversation

@xavierpinho
Copy link
Collaborator

See joernio/joern#5314 for context.

Not the best testing infrastructure. Added it mainly for illustrations purposes. As soon as I have some extra time, I'm happy to start contributing proper tests, re-using the JSON tree for that.

@xavierpinho
Copy link
Collaborator Author

@DavidBakerEffendi this effectively removes comments from the parsed (JSON) AST. Wondering if it's too much a drastic change or appreciated? There's some extra context in joernio/joern#5314

Copy link
Contributor

@DavidBakerEffendi DavidBakerEffendi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, and the tests illustrate the concerns from the thread in Joern. Should help with CPG size too

@xavierpinho xavierpinho merged commit f906a8a into main Apr 8, 2025
2 checks passed
@xavierpinho xavierpinho deleted the xavierp/c#-without-trivia branch April 8, 2025 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants