Enum NcPatchTagResult
- Namespace
- Hi.NcParsers.NcWriteback
- Assembly
- HiMech.dll
Outcome of a SetTagNumber(ref string, string, double, string, string, IReadOnlyList<(int Start, int Length)>, IReadOnlyList<string>, bool, bool) edit.
public enum NcPatchTagResult
- Extension Methods
Fields
Inserted = 3The tag was absent and a new token was inserted.
RefusedKeywordValue = 5The tag's value is a dialect keyword (e.g. Heidenhain
FMAX/FAUTO); patch mode refuses to rewrite keyword values. The text is untouched.RefusedProtectedText = 6Every non-whitespace character of the text is inside a protected (comment) span, so there is no code region to edit or insert into. The text is untouched.
RefusedVariableValue = 4The tag's value is a variable or bracket expression (e.g.
X#1,X[#1+2]); patch mode refuses to rewrite expressions. The text is untouched.Removed = 2The tag token was removed (NaN value).
Replaced = 1The existing tag value literal was replaced in place.
Unchanged = 0The text was left byte-identical: the tag was absent and the value was NaN, or the existing literal already equals the requested value at the requested format's resolution.