You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Only decls should have doc comments bound to them.
One way to emulate this would be to walk the tree post-order before processing, checking the comments attribute of each node, tracking the most recent doc comment.
If a function/method/node/const/property is seen, and doesn't have a doc comment, then add the doc comment. Clear the list of comments tracked so far, and continue traversing.
Only decls should have doc comments bound to them.
One way to emulate this would be to walk the tree post-order before processing, checking the comments attribute of each node, tracking the most recent doc comment.
The text was updated successfully, but these errors were encountered: