Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comments **must** be linked to something #245

Open
badetitou opened this issue Jan 9, 2025 · 0 comments
Open

Comments **must** be linked to something #245

badetitou opened this issue Jan 9, 2025 · 0 comments

Comments

@badetitou
Copy link
Member

IMHO, every nodes must be linked to the others. Or the model is very hard to manipulate and understand.
Even if it can seem buggy.

In test JavaSmaCCBlockCommentTest>>#testCommentIsAttached we say that the last comment of

void blah() {
  /* the following is a declaration */
  String someVar;
  /* block comment at the end */
}

is contained by no-one. So how can we retrieve it.... That's very strange to me

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

No branches or pull requests

1 participant