update XML IO pattern.

This commit is contained in:
2026-05-24 14:06:51 +08:00
parent 058003f395
commit d7836db45f
314 changed files with 13376 additions and 573 deletions
@@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="title" content="Class FanucGoto | HiAPI-C# 2025 ">
<meta name="description" content="Fanuc Custom Macro B GOTO record. Stamped on the host block by after the control-flow decision has been made; produced earlier by as a parsing-stage sub-section (Parsing.FanucGoto) carrying the raw captured fields. Two source forms map to the same shape: GOTO &amp;lt;n&amp;gt; — unconditional jump. is null.IF [&amp;lt;bool-expr&amp;gt;] GOTO &amp;lt;n&amp;gt; — conditional jump. holds the expression text from inside the brackets. At parsing time is a raw token from the source — it may be a literal (&quot;100&quot;), a variable reference (&quot;#1&quot;), or a bracketed expression (&quot;#[#2+5]&quot;). VariableEvaluatorSyntax substitutes a resolved literal back into the same field in the Evaluation bundle; then int.TryParses the final string to produce an int target.">
<meta name="description" content="Fanuc Custom Macro B GOTO record. Stamped on the host block by after the control-flow decision has been made; produced earlier by as a parsing-stage sub-section (Parsing.FanucGoto) carrying the raw captured fields. Two source forms map to the same shape: GOTO &amp;lt;n&amp;gt; — unconditional jump. is null.IF [&amp;lt;bool-expr&amp;gt;] GOTO &amp;lt;n&amp;gt; — conditional jump. holds the expression text from inside the brackets. At parsing time is a raw token from the source — it may be a literal (&quot;100&quot;), a variable reference (&quot;#1&quot;), or a bracketed expression (&quot;#[#2+5]&quot;). substitutes a resolved literal back into the same field in the Evaluation bundle; then int.TryParses the final string to produce an int target.">
<link rel="icon" href="../img/HiAPI.favicon.ico">
<link rel="stylesheet" href="../public/docfx.min.css">
<link rel="stylesheet" href="../public/main.css">
@@ -111,7 +111,7 @@ Two source forms map to the same shape:
<p>
At parsing time <a class="xref" href="Hi.NcParsers.Keywords.FanucGoto.html#Hi_NcParsers_Keywords_FanucGoto_N">N</a> is a raw token from the source — it may
be a literal (<code>"100"</code>), a variable reference (<code>"#1"</code>), or a
bracketed expression (<code>"#[#2+5]"</code>). VariableEvaluatorSyntax
bracketed expression (<code>"#[#2+5]"</code>). <a class="xref" href="Hi.NcParsers.EvaluationSyntaxs.VariableEvaluatorSyntax.html">VariableEvaluatorSyntax</a>
substitutes a resolved literal back into the same field in the
Evaluation bundle; <a class="xref" href="Hi.NcParsers.EvaluationSyntaxs.Fanuc.FanucGotoSyntax.html">FanucGotoSyntax</a> then
<code>int.TryParse</code>s the final string to produce an int target.