-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Clarify and expand documentation for runtime ParseTreeWalker #2782
Conversation
|
||
/// <summary> | ||
/// Performs a walk on the given parse tree starting at the root and going down recursively | ||
/// with depth-first search. On each node, <seealso cref="ParseTreeWalker#enterRule"/> is called before |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not use block comments?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ill change this into blocks
/// with depth-first search. On each node, | ||
/// <see cref="ParseTreeWalker.EnterRule(IParseTreeListener, IRuleNode)"/> is called before | ||
/// recursively walking down into child nodes, then | ||
/// <see cref="ParseTreeWalker.ExitRule(IParseTreeListener, IRuleNode)"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not use block comments?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
///
line comments are the de-facto standard for C# code. Java-style /** */
are technically allowed, but nearly non-existent in the wild.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
microsoft uses triple slashes on their c# documentation so I thought of doing the same
thanks song yang |
My pull request based on the issue #2759 and the answer given by @ericvergnaud . I applied the changes to all target languages. Hopefully, the documentation style conforms to all the target languages and is accepted by each respective compiler.