Skip to main content

Module conflict

Module conflict 

Source
Expand description

Conflict detection for overlapping or incompatible matches.

When multiple pattern matches are found in a single file their byte ranges may overlap. Applying overlapping replacements can corrupt the source. This module detects such conflicts before any transformation is applied so that the user or the engine can decide how to resolve them.

Structs§

Conflict
Describes a conflict between two or more matches.
ConflictResolver
Detects overlapping or otherwise conflicting matches within a single file.

Enums§

ConflictResolution
How to resolve a detected conflict.