TMaskBase.TMaskParsedCode enumeration
Represents op codes found when parsing / compiling a mask expression.
Declaration
TMaskParsedCode = (Literal,Range,Negate,AnyChar,AnyCharOrNone,
AnyCharToNext,OptionalChar,CharsGroupBegin,
CharsGroupEnd)Description
Used in the Add and IncrementLastCounterBy methods.
Values
Literal | Op code for a literal value in a compiled mask expression. |
Range | Op code for a range declared in a compiled mask expression. |
Negate | Op code to exclude a range or set declared in a compiled mask expression. |
AnyChar | Op code to match any single character in a compiled mask expression. The character is required. |
AnyCharOrNone | Op code to match any single character in a compiled mask expression. The character is optional. |
AnyCharToNext | Op code to match any number of characters in a compiled mask expression. On failure, the match is restarted at the next position and continues until the mask is completed or all matching values are used. |
OptionalChar | Op code to match a single optional character value in the compiled mask expression. |
CharsGroupBegin | Op code for the '[' character which starts an optional range or set in a compiled mask expression. |
CharsGroupEnd | Op code for the ']' character which ends an optional range or set in a compiled mask expression. |
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
