You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<divclass="docstring"><h1id="parse-and-unparse-from-source-or-ast">Parse and unparse from source or <code>AST</code></h1>
59
+
<divclass="docstring"><h1id="parse-and-unparse-from-source-or-ast">Parse and unparse from source or AST</h1>
59
60
60
61
<p>To be able to execute the examples, import this.</p>
61
62
@@ -551,6 +552,33 @@ <h2 id="source">Source</h2>
551
552
<spanclass="go"> .operand Name 'a' Load - 4,15..4,16</span>
552
553
</code></pre>
553
554
</div>
555
+
556
+
<h2id="parse_ast"><code>parse_ast()</code></h2>
557
+
558
+
<p>The <code>FST</code> class makes its internal extended <code>AST</code> parsing available via the <code>FST.parse_ast()</code> function. This allows
559
+
parsing individual nodes as pure <code>AST</code> (without any <code>FST</code> nodes added) that are otherwise unparsable by themselves by
0 commit comments