[Question] node.getType().getText()
vs node.getType().getText(node)
#923
Labels
node.getType().getText()
vs node.getType().getText(node)
#923
This is somewhat related to my question here: #907
I'm relying on the import paths inside the returned string from
node.getType().getText()
to build reference links in an API doc system.node.getType().getText(node)
always strips these import paths, but sometimes it returns better information than when not supplying the node.Is there any way to get both the more complete information, but keep the import paths? I made a table of these differences here:
There are some pretty interesting results. Notice how
KindOfADup
actually returns a reference toFoo
because their types overlap, though they are defined separately.Link to codesandbox
The text was updated successfully, but these errors were encountered: