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
Hi,
I am trying to parse a file with a file level comment. This parse works fine when not using a namespace. However, with namespace the leadingComments node is missing the last one. The comment exists in the comments node.
When I try the code on ASTexplore everything is fine. The problem only occurs when using node.
This is what I have at top level:
/**
* File leve comment
*
* @package testing
*/
/**
* namespace comment
*
* Another top level comment
*/
// Testing another comment
/*
One more comment
*/
Hi,
I am trying to parse a file with a file level comment. This parse works fine when not using a namespace. However, with namespace the leadingComments node is missing the last one. The comment exists in the comments node.
When I try the code on ASTexplore everything is fine. The problem only occurs when using node.
This is what I have at top level:
and this is the json produced:
The text was updated successfully, but these errors were encountered: