{ } Raw JSON

bundles / papyri 0.0.10 / papyri / ts / parse

function

papyri.ts:parse

source: /papyri/ts.py :1139

Signature

def   parse ( text : bytes qa : str | None = None )  →  list[Section]

Summary

Parse text using Tree sitter RST, and return a list of serialised section I guess ?

Aliases

  • papyri.directives.parse