bundles / papyri 0.0.10 / papyri / ts / TSVisitor / __init__
function
papyri.ts:TSVisitor.__init__
source: /papyri/ts.py :194
Signature
def __init__ ( self , buf : bytes , qa : str , / ) Summary
A tree-visitor for TreeSitter nodes to convert into Papyri nodes.
Parameters
buf: bytesbytes buffer of the document parsed by tree-sitter.
qa: strfully qualified name of the object for which we are parsing the documentation. This is used only in log messages, and for debugging purpose.
Aliases
-
papyri.ts.TSVisitor.__init__