fix SoftNcRunner GM code normalization.

This commit is contained in:
2026-05-16 18:08:13 +08:00
parent e026da61b3
commit 8b285cc863
765 changed files with 18689 additions and 9785 deletions
@@ -581,6 +581,57 @@ boundary.</p>
<a id="Hi_Common_Collections_LazyLinkedList_1_PrependSource_" data-uid="Hi.Common.Collections.LazyLinkedList`1.PrependSource*"></a>
<h3 id="Hi_Common_Collections_LazyLinkedList_1_PrependSource_System_Collections_Generic_IEnumerable__0__" data-uid="Hi.Common.Collections.LazyLinkedList`1.PrependSource(System.Collections.Generic.IEnumerable{`0})">
PrependSource(IEnumerable&lt;T&gt;)
</h3>
<div class="markdown level1 summary"><p>Prepends a new source ahead of the current source's remaining items.
On the next on-demand materialization (triggered by
<a class="xref" href="Hi.Common.Collections.LazyLinkedListNode-1.html#Hi_Common_Collections_LazyLinkedListNode_1_Next">Next</a> on the present tail or
<a class="xref" href="Hi.Common.Collections.LazyLinkedList-1.html#Hi_Common_Collections_LazyLinkedList_1_First">First</a> on an empty list), <code class="paramref">src</code> is
yielded first; once exhausted, the previous source's untouched tail
resumes. The materialized prefix of the list — including the present
tail — is unaffected, so this is the natural way to splice extra
items in immediately after the current tail (for example, inlining
an M98 subprogram's blocks after the host node so the rest of the
pipeline picks them up via ordinary <code>walkNode.Next</code> traversal).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void PrependSource(IEnumerable&lt;T&gt; src)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>src</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;T&gt;</dt>
<dd><p>The source to insert ahead of the remaining items.</p>
</dd>
</dl>
<h4 class="section" id="Hi_Common_Collections_LazyLinkedList_1_PrependSource_System_Collections_Generic_IEnumerable__0___remarks">Remarks</h4>
<div class="markdown level1 remarks"><p>Constraint: the caller must treat the present tail as the splice
point. There is no way to prepend &ldquo;after some interior node&rdquo; — the
prepended items are queued ahead of whatever the current source
would have produced next. Use this when the splice point coincides
with the tail at the moment of the call (which is how
<code>SoftNcRunner</code>'s pipeline drives node-by-node lazy
materialization in lock-step with syntax/semantic processing).</p>
</div>
</article>