On Sun, Aug 9, 2020, 6:49 PM Matt McKay wrote:
> Hi Sphinx Group.
>
> Is there a way to access the Sphinx abstract syntax tree (AST) *before*
> any transforms or post-transforms are applied (i.e. directly after the
> parser phase)?
>
> I am writing an extension to convert reST to Myst syntax but
Thanks Takeshi -- that is a nice idea. I will give that a shot.
On Mon, Aug 10, 2020 at 12:22 PM Komiya Takeshi wrote:
> Hi,
>
> How about using a transform having a very high priority? Then you can
> access a doctree (a.k.a. AST) just after the parsed.
>
> Thanks,
> Takeshi KOMIYA
>
>
Hi,
How about using a transform having a very high priority? Then you can
access a doctree (a.k.a. AST) just after the parsed.
Thanks,
Takeshi KOMIYA
2020年8月10日(月) 10:49 Matt McKay :
>
> Hi Sphinx Group.
>
> Is there a way to access the Sphinx abstract syntax tree (AST) before any
> transforms
Hi Sphinx Group.
Is there a way to access the Sphinx abstract syntax tree (AST) *before* any
transforms or post-transforms are applied (i.e. directly after the parser
phase)?
I am writing an extension to convert reST to Myst syntax but I am finding
restoring some of the information contained