This commit is contained in:
2026-09-09 17:35:23 +08:00
parent 2a98ae7556
commit 161af68fe3
1271 changed files with 58251 additions and 98639 deletions
@@ -149,6 +149,49 @@ Class NcSyntaxUtil
<h2 class="section" id="fields">Fields
</h2>
<h3 id="Hi_NcParsers_Syntaxs_NcSyntaxUtil_RepeatedWordsKey" data-uid="Hi.NcParsers.Syntaxs.NcSyntaxUtil.RepeatedWordsKey">
RepeatedWordsKey
</h3>
<div class="markdown level1 summary"><p>Key under a Parsing category collecting the values of a word that
occurs more than once on the block, in text order after the first
(<code>T10 T2 M06</code> → <code>{ &ldquo;T&rdquo;: 10, &ldquo;RepeatedWords&rdquo;: { &ldquo;T&rdquo;: [2] } }</code>).
The scalar slot keeps the FIRST occurrence — HardNc parity, whose
word grabs are first-match (<code>HardNcUtil.GrabInt</code>). A consumer
that gives a repeat a meaning (the dual tool word:
<a class="xref" href="Hi.NcParsers.LogicSyntaxs.ToolChangeSyntax.html">ToolChangeSyntax</a>) reads and removes it
here; anything left surfaces as <code>Parsing&ndash;Unconsumed</code> instead
of silently overwriting the first word.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public const string RepeatedWordsKey = &quot;RepeatedWords&quot;</code></pre>
</div>
<h4 class="section">Field Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
</dl>
<h2 class="section" id="properties">Properties
</h2>