Esempio n. 1
0
 internal RcTemplateMarkers()
 {
     RegionBeginMarker       = new RcLineMarker("Begin Slot Region");
     RegionEndMarker         = new RcLineMarker("End Slot Region");
     SlotTagMarker           = new RcLineMarker("Slot Tag");
     JoinSlotTagsBeginMarker = new RcLineMarker("Begin Join Slot Tags");
     JoinSlotTagsEndMarker   = new RcLineMarker("End Join Slot Tags");
     FixedTagMarker          = new RcLineMarker("Fixed Tag");
 }
Esempio n. 2
0
 private void TestMarkerOverlap(StringBuilder s, RcLineMarker marker1, RcLineMarker marker2)
 {
     if (marker1.MarkerRegex.IsMatch(marker2.MarkerText))
     {
         s.Append(marker2.MarkerName)
         .Append(" marker is matched by ")
         .Append(marker1.MarkerName)
         .AppendLine(" marker; miss-detection is possible");
     }
 }