ml_switcheroo.core.latex.parser =============================== .. py:module:: ml_switcheroo.core.latex.parser .. autoapi-nested-parse:: LaTeX DSL Parser. Parses MIDL LaTeX macros into a LibCST Module representing a Python AST. Classes ------- .. autoapisummary:: ml_switcheroo.core.latex.parser.LatexParser Module Contents --------------- .. py:class:: LatexParser(latex_source: str) Parses LaTeX source code containing MIDL macros into a Python CST. .. py:attribute:: source .. py:method:: parse() -> libcst.Module Parses the internally stored LaTeX source string. :returns: A LibCST Module containing the synthesized Python class. :rtype: cst.Module