Enum NcTagValueKind
- Namespace
- Hi.NcParsers.NcWriteback
- Assembly
- HiMech.dll
Kind of value a tag literally carries in a block text, as classified by
the patcher's own value grammar (TagValuePattern). Probing through
this enum guarantees a caller agrees with
SetTagNumber(ref string, string, double, string, string, IReadOnlyList<(int Start, int Length)>, IReadOnlyList<string>, bool, bool) on what an editable token is.
public enum NcTagValueKind
- Extension Methods
Fields
Absent = 0No literal token of the tag exists outside comments.
Number = 1The tag carries a plain numeric literal — editable.
Unpatchable = 2The tag carries a variable/bracket expression or a dialect keyword — present, but SetTagNumber(ref string, string, double, string, string, IReadOnlyList<(int Start, int Length)>, IReadOnlyList<string>, bool, bool) refuses to rewrite it.