Struct MagicMatch
One of magic rules in magic definition. Represents <match> element in source XML.
Constructors
Name | Description |
this
|
Construct MagicMatch from type, value, mask, startOffset and rangeLength
|
Methods
Name | Description |
addSubmatch
|
Add subrule to the children of this rule.
|
hasMask
|
Check if the rule has value mask.
|
mask
|
The number to AND the value in the file with before comparing it to value
|
rangeLength
|
The length of the region in the file to check.
|
startOffset
|
The offset into the file to look for a match.
|
submatches
|
Get match subrules
|
type
|
Type of match value.
|
value
|
The value to compare the file contents with
|
Enums
Name | Description |
Type
|
Type of match value.
|