Archived
deploy webservice static-file routing for docsite folder URLs, per-instance step-cache db, and constant-height panel title bars.
This commit is contained in:
+15
-1
@@ -6,7 +6,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Class TailCommentSyntax | HiAPI-C# 2025 ">
|
||||
|
||||
<meta name="description" content="In-situ syntax that strips a trailing comment from the NC line: text from a configured to end-of-line is moved into on the block JSON.">
|
||||
<meta name="description" content="In-situ syntax that strips a trailing comment from the NC line: text from a configured to end-of-line is moved into on the block JSON. Line-aware on multi-line sentences (Heidenhain grouped / ~-continued blocks): the marker-to-end-of-line strip applies per physical line, so a ; comment on one cycle-parameter line never swallows the following lines. Stripped comment texts are joined into a single record. Single-line sentences behave exactly as before.">
|
||||
<link rel="icon" href="../img/HiAPI.favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
@@ -99,6 +99,14 @@ Class TailCommentSyntax
|
||||
|
||||
<div class="markdown summary"><p>In-situ syntax that strips a trailing comment from the NC line: text from a configured
|
||||
<a class="xref" href="Hi.NcParsers.ParsingSyntaxs.CommentSyntaxs.TailCommentSyntax.html#Hi_NcParsers_ParsingSyntaxs_CommentSyntaxs_TailCommentSyntax_TailSymbol">TailSymbol</a> to end-of-line is moved into <a class="xref" href="Hi.NcParsers.Keywords.Comment.html">Comment</a> on the block JSON.</p>
|
||||
<p>
|
||||
Line-aware on multi-line sentences (Heidenhain grouped / <code>~</code>-continued
|
||||
blocks): the marker-to-end-of-line strip applies per physical line, so a
|
||||
<code>;</code> comment on one cycle-parameter line never swallows the following
|
||||
lines. Stripped comment texts are joined into a single
|
||||
<a class="xref" href="Hi.NcParsers.Keywords.Comment.html">Comment</a> record. Single-line sentences behave exactly as
|
||||
before.
|
||||
</p>
|
||||
</div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
@@ -192,6 +200,12 @@ Class TailCommentSyntax
|
||||
"UnparsedText": "G01 X100",
|
||||
"Comment": { "Symbol": ";", "Text": "mid comment" }
|
||||
}</code></pre>
|
||||
<p>#BeforeBuild.UnparsedText: <code>MSG(“A;B”) ;note</code> (with TailSymbol=";" — the ‘;’ inside the quoted string is not a comment start)
|
||||
#AfterBuild:</p>
|
||||
<pre><code class="lang-csharp">{
|
||||
"UnparsedText": "MSG(\"A;B\")",
|
||||
"Comment": { "Symbol": ";", "Text": "note" }
|
||||
}</code></pre>
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user