Namespace Hi.NcParsers.ParsingSyntaxs.CommentSyntaxs
Classes
- QuoteCommentSyntax
Parses parenthesized comments such as
(comment text)from the remaining unparsed text and emits a Comment section with the()symbol.
- TailCommentSyntax
In-situ syntax that strips a trailing comment from the NC line: text from a configured TailSymbol to end-of-line is moved into Comment 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 Comment record. Single-line sentences behave exactly as before.